Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 190 kB / 23.7 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 47.92 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003173/0.2382, allocations: 1.915 MB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.2441, allocations: 3.453 MB / 427.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.2442, allocations: 15.81 kB / 427.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.2447, allocations: 195.1 kB / 428.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.2448, allocations: 47.52 kB / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.249, allocations: 1.926 MB / 430.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.2497, allocations: 0.4988 MB / 430.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2499, allocations: 37.25 kB / 430.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.2501, allocations: 183.4 kB / 430.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2503, allocations: 171.2 kB / 431 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.2504, allocations: 24 kB / 431 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.2531, allocations: 1.858 MB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.2533, allocations: 127.5 kB / 433 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.2534, allocations: 131.2 kB / 433.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2554, allocations: 1.804 MB / 434.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2554, allocations: 0 / 434.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2554, allocations: 0 / 434.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2554, allocations: 0 / 434.9 MB, free: 1.996 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001614/0.257, allocations: 0.839 MB / 435.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2571, allocations: 12.03 kB / 435.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.2571, allocations: 50.73 kB / 435.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.2572, allocations: 48.66 kB / 435.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.2577, allocations: 299 kB / 436.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2577, allocations: 16.28 kB / 436.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.2578, allocations: 27.98 kB / 436.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.2584, allocations: 0.598 MB / 436.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2584, allocations: 0 / 436.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.2585, allocations: 8 kB / 436.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2585, allocations: 4 kB / 436.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.2588, allocations: 148.7 kB / 437 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.26, allocations: 0.6084 MB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.2606, allocations: 310.4 kB / 437.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2608, allocations: 105.2 kB / 438 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2608, allocations: 3.938 kB / 438 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2608, allocations: 34.56 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.2609, allocations: 0 / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007199/0.2616, allocations: 391 kB / 438.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.2618, allocations: 371.8 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.2622, allocations: 405.8 kB / 439.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.2623, allocations: 33.7 kB / 439.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2624, allocations: 200.9 kB / 439.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.2625, allocations: 87.22 kB / 439.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2626, allocations: 101.7 kB / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2628, allocations: 358.8 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.2632, allocations: 204.4 kB / 440.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.2638, allocations: 0.6273 MB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.2644, allocations: 388.8 kB / 441.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2644, allocations: 4 kB / 441.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001128/0.2655, allocations: 0.6487 MB / 441.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2655, allocations: 4 kB / 441.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.2655, allocations: 11.98 kB / 441.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.266, allocations: 130.4 kB / 441.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.2662, allocations: 63.97 kB / 442 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.2701, allocations: 4.237 MB / 446.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2703, allocations: 51.58 kB / 446.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.2703, allocations: 12 kB / 446.3 MB, free: 5.77 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002142/0.2705, allocations: 178 kB / 446.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.2706, allocations: 47.66 kB / 446.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.2707, allocations: 43.84 kB / 446.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2707, allocations: 4 kB / 446.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.2707, allocations: 0 / 446.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.2707, allocations: 3.984 kB / 446.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.2711, allocations: 288.6 kB / 446.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2711, allocations: 0 / 446.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2714, allocations: 35.97 kB / 446.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2714, allocations: 11.94 kB / 446.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.2714, allocations: 8 kB / 446.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2714, allocations: 0 / 446.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2714, allocations: 0 / 446.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.2721, allocations: 0.5058 MB / 447.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.2722, allocations: 47.56 kB / 447.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.2722, allocations: 8 kB / 447.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2724, allocations: 15.98 kB / 447.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.2724, allocations: 15.97 kB / 447.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2725, allocations: 8 kB / 447.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.2728, allocations: 271.1 kB / 447.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2728, allocations: 0 / 447.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001766/0.2745, allocations: 0.6637 MB / 448.4 MB, free: 3.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002337/0.2769, allocations: 1.62 MB / 450 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.2783, allocations: 0.9103 MB / 450.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2783, allocations: 0 / 450.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2785, allocations: 130.7 kB / 451.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.2791, allocations: 120.2 kB / 451.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.2853, allocations: 4.499 MB / 455.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2855, allocations: 237 kB / 455.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.2857, allocations: 66.94 kB / 456 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.2859, allocations: 131.4 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2859, allocations: 0 / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.3412, allocations: 18.23 MB / 474.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.85, allocations: 14.91 kB / 474.4 MB, free: 9.637 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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: 14.227247202768922]