Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 105.1 kB / 21.22 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 215.8 kB / 24.52 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.333/1.333, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 47.94 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 53.35 MB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002769/0.2302, allocations: 1.609 MB / 433.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.2348, allocations: 2.969 MB / 436.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.2349, allocations: 7.938 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.2352, allocations: 63.69 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2352, allocations: 11.86 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.2383, allocations: 1.47 MB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2385, allocations: 151.6 kB / 438.1 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2386, allocations: 25.23 kB / 438.1 MB, free: 348 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.2387, allocations: 55.83 kB / 438.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.2388, allocations: 51.77 kB / 438.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.2388, allocations: 12 kB / 438.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.2405, allocations: 1.44 MB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.2406, allocations: 39.8 kB / 439.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.2407, allocations: 39.73 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2419, allocations: 1.212 MB / 441 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2419, allocations: 4 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2419, allocations: 0 / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2419, allocations: 0 / 441 MB, free: 13.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009203/0.2428, allocations: 0.4896 MB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2429, allocations: 16.03 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.2429, allocations: 4.125 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.2429, allocations: 42.73 kB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.243, allocations: 16.84 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.2432, allocations: 159 kB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2432, allocations: 384 / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.2432, allocations: 15.94 kB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.2435, allocations: 202.1 kB / 441.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2435, allocations: 11.98 kB / 441.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2435, allocations: 4 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2435, allocations: 7.938 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2436, allocations: 63.27 kB / 442 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.2442, allocations: 335.7 kB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2445, allocations: 126.5 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.2446, allocations: 36.83 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2446, allocations: 4 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2447, allocations: 34.56 kB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2447, allocations: 4 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002156/0.2468, allocations: 0.9896 MB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.2469, allocations: 128.5 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2471, allocations: 178.2 kB / 443.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2471, allocations: 30.08 kB / 443.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.2472, allocations: 120.4 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.2472, allocations: 51.53 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.2473, allocations: 45.7 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2474, allocations: 334.8 kB / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.2476, allocations: 91.95 kB / 444.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.2478, allocations: 220.4 kB / 444.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.2482, allocations: 200.7 kB / 444.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2482, allocations: 0 / 444.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005203/0.2487, allocations: 306.1 kB / 445.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2487, allocations: 11.98 kB / 445.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2487, allocations: 0 / 445.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.2489, allocations: 40.83 kB / 445.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.249, allocations: 31.97 kB / 445.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2503, allocations: 1.42 MB / 446.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.2504, allocations: 4 kB / 446.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2504, allocations: 8 kB / 446.7 MB, free: 7.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.2505, allocations: 134 kB / 446.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.2506, allocations: 11.91 kB / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.2506, allocations: 37.64 kB / 446.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2506, allocations: 4 kB / 446.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2506, allocations: 3.938 kB / 446.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2506, allocations: 0 / 446.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2509, allocations: 196.7 kB / 447.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2509, allocations: 0 / 447.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2511, allocations: 55.95 kB / 447.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2511, allocations: 0 / 447.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2512, allocations: 8 kB / 447.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2512, allocations: 0 / 447.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2512, allocations: 7.938 kB / 447.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.2517, allocations: 411.2 kB / 447.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.2517, allocations: 11.91 kB / 447.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2517, allocations: 4 kB / 447.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2518, allocations: 7.938 kB / 447.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.2519, allocations: 19.95 kB / 447.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2519, allocations: 4 kB / 447.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.252, allocations: 120.2 kB / 447.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.252, allocations: 0 / 447.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001272/0.2533, allocations: 0.5116 MB / 448.2 MB, free: 5.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.2549, allocations: 1.383 MB / 449.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.2555, allocations: 373.9 kB / 450 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2555, allocations: 0 / 450 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2556, allocations: 87.83 kB / 450.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.256, allocations: 38.03 kB / 450.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.2588, allocations: 2.473 MB / 452.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.259, allocations: 114.6 kB / 452.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.2591, allocations: 33.06 kB / 452.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.2591, allocations: 43.42 kB / 452.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2591, allocations: 0 / 452.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.2937, allocations: 10.16 MB / 462.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.25, allocations: 0.75 kB / 462.9 MB, free: 7.027 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.596486203023233]