Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001299/0.001299, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.001368/0.001368, allocations: 185.5 kB / 23.71 MB, free: 4.434 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.377/1.377, 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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 43.94 kB / 370.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 52.18 MB / 422.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002753/0.2476, allocations: 1.589 MB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004836/0.2524, allocations: 2.938 MB / 427.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2525, allocations: 4 kB / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.2529, allocations: 55.64 kB / 427.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.253, allocations: 11.86 kB / 427.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.2565, allocations: 1.468 MB / 428.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.2568, allocations: 151.6 kB / 428.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2569, allocations: 17.25 kB / 428.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.257, allocations: 59.77 kB / 428.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.2571, allocations: 55.7 kB / 428.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2571, allocations: 8 kB / 428.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.2589, allocations: 1.417 MB / 430.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.2589, allocations: 35.89 kB / 430.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.259, allocations: 47.73 kB / 430.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2602, allocations: 1.212 MB / 431.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2602, allocations: 0 / 431.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2602, allocations: 0 / 431.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2602, allocations: 0 / 431.6 MB, free: 5.363 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009432/0.2612, allocations: 0.5013 MB / 432.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2612, allocations: 11.97 kB / 432.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2613, allocations: 38.75 kB / 432.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2613, allocations: 16.84 kB / 432.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.2616, allocations: 162.1 kB / 432.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2616, allocations: 11.98 kB / 432.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.2616, allocations: 15.94 kB / 432.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2619, allocations: 202.1 kB / 432.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2619, allocations: 0 / 432.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2619, allocations: 4 kB / 432.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2619, allocations: 0 / 432.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2621, allocations: 59.89 kB / 432.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.2627, allocations: 347.6 kB / 433 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.263, allocations: 122.5 kB / 433.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.2631, allocations: 40.84 kB / 433.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2631, allocations: 0 / 433.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.2631, allocations: 38.55 kB / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.2631, allocations: 0 / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002113/0.2653, allocations: 0.9817 MB / 434.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.2654, allocations: 140.4 kB / 434.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2655, allocations: 170.3 kB / 434.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2656, allocations: 33.7 kB / 434.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.2656, allocations: 112.5 kB / 434.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.2657, allocations: 59.53 kB / 434.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.2658, allocations: 45.7 kB / 434.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2659, allocations: 326.8 kB / 435 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2661, allocations: 99.88 kB / 435.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.2663, allocations: 208.4 kB / 435.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2667, allocations: 204.9 kB / 435.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2667, allocations: 0 / 435.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005439/0.2672, allocations: 314.2 kB / 435.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2672, allocations: 14.12 kB / 435.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.2672, allocations: 4 kB / 435.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.2674, allocations: 48.75 kB / 435.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2676, allocations: 27.98 kB / 435.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2689, allocations: 1.404 MB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.269, allocations: 12.19 kB / 437.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.269, allocations: 7.984 kB / 437.3 MB, free: 15.18 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.0001232/0.2691, allocations: 133.8 kB / 437.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.2692, allocations: 15.91 kB / 437.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.2692, allocations: 25.41 kB / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2692, allocations: 0 / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.2692, allocations: 3.938 kB / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2692, allocations: 0 / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.2695, allocations: 200.7 kB / 437.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2695, allocations: 15.94 kB / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2698, allocations: 47.97 kB / 437.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2698, allocations: 0 / 437.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2698, allocations: 7.938 kB / 437.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2698, allocations: 0 / 437.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2698, allocations: 0 / 437.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.2704, allocations: 415.1 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.2704, allocations: 7.953 kB / 438.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2704, allocations: 11.94 kB / 438.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2705, allocations: 12.03 kB / 438.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.2705, allocations: 11.98 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2706, allocations: 0 / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2707, allocations: 132.2 kB / 438.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2707, allocations: 0 / 438.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001365/0.272, allocations: 0.5155 MB / 438.9 MB, free: 13.57 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.001812/0.2738, allocations: 1.395 MB / 440.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.2745, allocations: 369.9 kB / 440.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2745, allocations: 0 / 440.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2746, allocations: 89.8 kB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2749, allocations: 41.88 kB / 440.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2779, allocations: 2.442 MB / 443.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.278, allocations: 118.6 kB / 443.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.2781, allocations: 37.22 kB / 443.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.2782, allocations: 47.42 kB / 443.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2782, allocations: 0 / 443.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.3202, allocations: 10.53 MB / 453.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.52, allocations: 10.73 kB / 453.9 MB, free: 14.51 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.839423371013254]