Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.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.001587/0.001587, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002467/0.002467, allocations: 223.9 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 44.24 MB / 330.3 MB, free: 9.59 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.91 kB / 467.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1171, allocations: 61.05 MB / 0.5162 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003929/0.1211, allocations: 2.681 MB / 0.5188 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007974/0.129, allocations: 4.448 MB / 0.5231 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.1295, allocations: 35.56 kB / 0.5232 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.1304, allocations: 358.3 kB / 0.5235 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1307, allocations: 99.16 kB / 0.5236 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005982/0.1366, allocations: 2.55 MB / 0.5261 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.1382, allocations: 1.213 MB / 0.5273 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.1384, allocations: 49.95 kB / 0.5273 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.139, allocations: 446.6 kB / 0.5278 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005921/0.1396, allocations: 418.2 kB / 0.5281 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.1397, allocations: 52 kB / 0.5282 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.1425, allocations: 1.932 MB / 0.5301 GB, free: 9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.1429, allocations: 310.9 kB / 0.5304 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.1433, allocations: 405.4 kB / 0.5308 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.1458, allocations: 2.321 MB / 0.533 GB, free: 5.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1458, allocations: 4 kB / 0.533 GB, free: 5.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1458, allocations: 0 / 0.533 GB, free: 5.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1458, allocations: 0 / 0.533 GB, free: 5.965 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002704/0.1485, allocations: 1.43 MB / 0.5344 GB, free: 4.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1486, allocations: 8.031 kB / 0.5344 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.912e-05/0.1487, allocations: 78.7 kB / 0.5345 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.1489, allocations: 112.2 kB / 0.5346 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.1497, allocations: 0.5223 MB / 0.5351 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1498, allocations: 41.36 kB / 0.5352 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.1499, allocations: 68.08 kB / 0.5352 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.151, allocations: 0.6968 MB / 0.5359 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.151, allocations: 0 / 0.5359 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.151, allocations: 20 kB / 0.5359 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1511, allocations: 12 kB / 0.536 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.1517, allocations: 363.7 kB / 0.5363 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.1543, allocations: 1.323 MB / 0.5376 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.1558, allocations: 0.8286 MB / 0.5384 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2247/0.3805, allocations: 277.8 kB / 0.5387 GB, free: 27.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-05/0.3806, allocations: 4.969 kB / 0.5387 GB, free: 27.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.3807, allocations: 48.72 kB / 0.5387 GB, free: 27.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.736e-06/0.3807, allocations: 1.906 kB / 0.5387 GB, free: 27.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001895/0.3826, allocations: 0.9675 MB / 0.5397 GB, free: 27.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.3827, allocations: 0.6677 MB / 0.5403 GB, free: 26.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.3837, allocations: 0.844 MB / 0.5411 GB, free: 26.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.3838, allocations: 52.14 kB / 0.5412 GB, free: 26.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.384, allocations: 360.4 kB / 0.5415 GB, free: 26.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3841, allocations: 229.3 kB / 0.5418 GB, free: 26.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.3845, allocations: 257.2 kB / 0.542 GB, free: 26.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3846, allocations: 416.7 kB / 0.5424 GB, free: 25.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/0.3855, allocations: 0.591 MB / 0.543 GB, free: 25.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.3865, allocations: 0.8329 MB / 0.5438 GB, free: 25.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.388, allocations: 1.119 MB / 0.5449 GB, free: 24.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.388, allocations: 2.844 kB / 0.5449 GB, free: 24.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002984/0.391, allocations: 1.928 MB / 0.5468 GB, free: 24.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.391, allocations: 6.922 kB / 0.5468 GB, free: 24.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.391, allocations: 19.72 kB / 0.5468 GB, free: 24.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.3925, allocations: 0.4949 MB / 0.5473 GB, free: 23.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.3931, allocations: 138.4 kB / 0.5474 GB, free: 23.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.4058, allocations: 16.98 MB / 0.564 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.4068, allocations: 137.2 kB / 0.5641 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.4069, allocations: 28.98 kB / 0.5641 GB, free: 8.293 MB / 414.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006628/0.4075, allocations: 282.4 kB / 0.5644 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4077, allocations: 94.98 kB / 0.5645 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.4079, allocations: 100.3 kB / 0.5646 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4079, allocations: 14.66 kB / 0.5646 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.4079, allocations: 0 / 0.5646 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4079, allocations: 2.719 kB / 0.5646 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4089, allocations: 0.6063 MB / 0.5652 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4089, allocations: 2.062 kB / 0.5652 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.4097, allocations: 108.3 kB / 0.5653 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4097, allocations: 2.438 kB / 0.5653 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.4097, allocations: 31.5 kB / 0.5653 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.4097, allocations: 9.922 kB / 0.5654 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4097, allocations: 0.8906 kB / 0.5654 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.4115, allocations: 1.165 MB / 0.5665 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4116, allocations: 82.72 kB / 0.5666 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.4117, allocations: 33.91 kB / 0.5666 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.4121, allocations: 34.53 kB / 0.5666 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4122, allocations: 32.86 kB / 0.5667 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.4122, allocations: 20.33 kB / 0.5667 GB, free: 7.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007024/0.4129, allocations: 0.5413 MB / 0.5672 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4129, allocations: 0 / 0.5672 GB, free: 6.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002519/0.4154, allocations: 0.7669 MB / 0.568 GB, free: 6.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * 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.003543/0.419, allocations: 2.3 MB / 0.5702 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003858/0.4228, allocations: 2.895 MB / 0.573 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4228, allocations: 2.094 kB / 0.573 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.4234, allocations: 323.5 kB / 0.5733 GB, free: 3.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4244, allocations: 230.9 kB / 0.5736 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.4397, allocations: 10.39 MB / 0.5837 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.4406, allocations: 1.079 MB / 0.5848 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.4411, allocations: 165.8 kB / 0.5849 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.4416, allocations: 341.7 kB / 0.5852 GB, free: 13.89 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4416, allocations: 0 / 0.5852 GB, free: 13.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/0.5327, allocations: 30.24 MB / 0.6148 GB, free: 2.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.93, allocations: 3.281 kB / 0.6148 GB, free: 2.082 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.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: 17.156129718990996]