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.001766/0.001766, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002296/0.002296, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 43.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2566, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002766/0.2594, allocations: 1.598 MB / 432.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.2642, allocations: 2.981 MB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.2643, allocations: 7.938 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.2646, allocations: 59.69 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.2647, allocations: 11.88 kB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.2679, allocations: 1.477 MB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2682, allocations: 151.6 kB / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.2682, allocations: 17.23 kB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.2683, allocations: 59.83 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.876e-05/0.2684, allocations: 51.72 kB / 437.5 MB, free: 212 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2684, allocations: 8 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.2702, allocations: 1.444 MB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.2703, allocations: 31.91 kB / 439 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.2704, allocations: 51.72 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.2717, allocations: 1.212 MB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2717, allocations: 0 / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.2717, allocations: 3.984 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.2717, allocations: 0 / 440.2 MB, free: 13.45 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.001004/0.2727, allocations: 0.4896 MB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2727, allocations: 8.031 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.2728, allocations: 38.75 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.2728, allocations: 16.84 kB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2731, allocations: 171 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2731, allocations: 4.375 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.2731, allocations: 16.12 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.2734, allocations: 202.1 kB / 441.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2734, allocations: 7.984 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2735, allocations: 0 / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2735, allocations: 0 / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2736, allocations: 62.56 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.2742, allocations: 339.7 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.2746, allocations: 130.5 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.2747, allocations: 40.83 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.2747, allocations: 4 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.2747, allocations: 30.56 kB / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2747, allocations: 0 / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00218/0.2769, allocations: 0.9926 MB / 442.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.277, allocations: 128.5 kB / 442.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2772, allocations: 178.2 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2772, allocations: 29.7 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.2773, allocations: 116.5 kB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.2773, allocations: 51.53 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.2774, allocations: 45.7 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2776, allocations: 328 kB / 443.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2778, allocations: 99.94 kB / 443.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.278, allocations: 208.4 kB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.2783, allocations: 204.7 kB / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2783, allocations: 0 / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005657/0.2789, allocations: 312.9 kB / 444.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2789, allocations: 8 kB / 444.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.2789, allocations: 4 kB / 444.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.2791, allocations: 44.86 kB / 444.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2793, allocations: 35.91 kB / 444.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.2806, allocations: 1.412 MB / 445.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.2807, allocations: 12.02 kB / 445.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2807, allocations: 4 kB / 445.9 MB, free: 7.277 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.0001273/0.2808, allocations: 141.8 kB / 446.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.2809, allocations: 11.91 kB / 446.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2809, allocations: 21.47 kB / 446.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2809, allocations: 0 / 446.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.281, allocations: 3.938 kB / 446.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.281, allocations: 7.984 kB / 446.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.2812, allocations: 200.8 kB / 446.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2812, allocations: 4 kB / 446.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2815, allocations: 55.84 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2815, allocations: 0 / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2815, allocations: 4 kB / 446.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2815, allocations: 4 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2815, allocations: 3.938 kB / 446.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.2821, allocations: 407.2 kB / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.2821, allocations: 15.94 kB / 446.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2821, allocations: 8 kB / 446.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2823, allocations: 11.94 kB / 446.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2823, allocations: 11.92 kB / 446.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2823, allocations: 4 kB / 446.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.2824, allocations: 124.2 kB / 447 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2824, allocations: 0 / 447 MB, free: 6.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001515/0.2839, allocations: 0.5155 MB / 447.5 MB, free: 5.676 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.001793/0.2857, allocations: 1.371 MB / 448.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.2864, allocations: 374 kB / 449.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2864, allocations: 0 / 449.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2865, allocations: 87.81 kB / 449.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2869, allocations: 35.92 kB / 449.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.29, allocations: 2.456 MB / 451.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.2901, allocations: 130.6 kB / 451.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2902, allocations: 33 kB / 451.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.2903, allocations: 47.42 kB / 452 MB, free: 1 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2903, allocations: 0 / 452 MB, free: 1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.3333, allocations: 10.54 MB / 462.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.63, allocations: 17.69 kB / 462.6 MB, free: 6.594 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.039914043009048]