Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 213.5 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.84 kB / 378.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4329, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003259/0.4362, allocations: 1.597 MB / 433.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.442, allocations: 2.988 MB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4422, allocations: 3.938 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.4426, allocations: 59.69 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.4427, allocations: 15.86 kB / 436.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.4469, allocations: 1.47 MB / 438 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.4472, allocations: 147.6 kB / 438.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4474, allocations: 21.23 kB / 438.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.4475, allocations: 63.77 kB / 438.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4476, allocations: 47.77 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.4476, allocations: 12 kB / 438.3 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.4496, allocations: 1.444 MB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4498, allocations: 35.86 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.4498, allocations: 43.73 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.4512, allocations: 1.216 MB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4512, allocations: 0 / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4512, allocations: 0 / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4513, allocations: 0 / 441.1 MB, free: 13.3 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.001144/0.4524, allocations: 0.4974 MB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.4525, allocations: 8.031 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.486e-05/0.4525, allocations: 8.125 kB / 441.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.4525, allocations: 42.73 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.4526, allocations: 12.84 kB / 441.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.4529, allocations: 155.1 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4529, allocations: 4.375 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4529, allocations: 11.94 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.4533, allocations: 206.1 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4533, allocations: 4 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4533, allocations: 4 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.4533, allocations: 4 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4535, allocations: 55.89 kB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.4542, allocations: 347.6 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.4547, allocations: 118.5 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.4548, allocations: 44.83 kB / 442.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.4548, allocations: 4.125 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4548, allocations: 38.56 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4548, allocations: 0 / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002211/0.457, allocations: 0.9855 MB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.4571, allocations: 132.5 kB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4573, allocations: 178.2 kB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4573, allocations: 34.08 kB / 443.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.4574, allocations: 112.4 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.4574, allocations: 55.53 kB / 444.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.4575, allocations: 45.7 kB / 444.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4577, allocations: 334.8 kB / 444.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.4579, allocations: 91.95 kB / 444.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4581, allocations: 219.8 kB / 444.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.4584, allocations: 200.9 kB / 445 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4584, allocations: 7.938 kB / 445 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005528/0.459, allocations: 314.1 kB / 445.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.459, allocations: 4 kB / 445.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.459, allocations: 4 kB / 445.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.4592, allocations: 36.83 kB / 445.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4594, allocations: 39.91 kB / 445.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4608, allocations: 1.416 MB / 446.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.099e-05/0.4609, allocations: 4.031 kB / 446.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.4609, allocations: 8 kB / 446.8 MB, free: 7.113 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.0001384/0.4611, allocations: 133.8 kB / 446.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.4611, allocations: 16.06 kB / 446.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.4611, allocations: 29.45 kB / 447 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4612, allocations: 0 / 447 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4612, allocations: 3.938 kB / 447 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.4612, allocations: 0 / 447 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.4614, allocations: 196.7 kB / 447.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4614, allocations: 0 / 447.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4617, allocations: 59.89 kB / 447.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4617, allocations: 0 / 447.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4617, allocations: 4 kB / 447.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4617, allocations: 0 / 447.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4617, allocations: 7.938 kB / 447.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.4623, allocations: 410 kB / 447.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.4623, allocations: 11.91 kB / 447.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4623, allocations: 8 kB / 447.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4624, allocations: 8.031 kB / 447.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.4625, allocations: 19.92 kB / 447.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4625, allocations: 0 / 447.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4626, allocations: 124.2 kB / 447.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4626, allocations: 0 / 447.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001554/0.4641, allocations: 0.5232 MB / 448.3 MB, free: 5.516 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.001928/0.4661, allocations: 1.372 MB / 449.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007081/0.4668, allocations: 369.9 kB / 450 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4668, allocations: 0 / 450 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4669, allocations: 87.83 kB / 450.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.4673, allocations: 38.33 kB / 450.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.4708, allocations: 2.465 MB / 452.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4709, allocations: 118.6 kB / 452.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.4711, allocations: 29.06 kB / 452.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4712, allocations: 47.61 kB / 452.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4712, allocations: 7.938 kB / 452.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.5149, allocations: 10.15 MB / 463 MB, free: 6.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.16, allocations: 10.97 kB / 463 MB, free: 6.793 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.105987698072568]