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.001291/0.001291, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00138/0.00138, allocations: 213 kB / 23.73 MB, free: 4.164 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.563/1.563, allocations: 230.5 MB / 257.4 MB, free: 7.785 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.89 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4233, allocations: 53.39 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003343/0.4266, allocations: 1.601 MB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.4322, allocations: 2.992 MB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.4324, allocations: 7.938 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.4328, allocations: 55.77 kB / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.4328, allocations: 15.8 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.4366, allocations: 1.477 MB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.4369, allocations: 143.7 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.437, allocations: 21.17 kB / 437.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.4371, allocations: 59.83 kB / 437.5 MB, free: 88 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4372, allocations: 47.77 kB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.4372, allocations: 8 kB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.439, allocations: 1.436 MB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.4391, allocations: 35.86 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.4392, allocations: 39.73 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.4405, allocations: 1.216 MB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4405, allocations: 0 / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4405, allocations: 0 / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.4405, allocations: 0 / 440.3 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.0008411/0.4413, allocations: 0.4896 MB / 440.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4414, allocations: 19.97 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.4414, allocations: 42.69 kB / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4414, allocations: 20.78 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.4417, allocations: 155.1 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.4417, allocations: 4.375 kB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4417, allocations: 12.12 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.442, allocations: 209.1 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.442, allocations: 4 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.442, allocations: 0 / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-06/0.442, allocations: 0 / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.4421, allocations: 67.83 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.4428, allocations: 339.6 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.4431, allocations: 118.6 kB / 441.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.4432, allocations: 40.83 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4432, allocations: 4 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4433, allocations: 34.69 kB / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4433, allocations: 0 / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002209/0.4455, allocations: 0.9972 MB / 442.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.4456, allocations: 132.5 kB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.4457, allocations: 182.2 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4458, allocations: 29.7 kB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.4459, allocations: 112.5 kB / 443.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.4459, allocations: 51.95 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.446, allocations: 41.72 kB / 443.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4462, allocations: 330.8 kB / 443.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.4463, allocations: 99.94 kB / 443.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.4466, allocations: 209 kB / 444 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.4469, allocations: 208.8 kB / 444.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4469, allocations: 4 kB / 444.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005405/0.4474, allocations: 314.1 kB / 444.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.4474, allocations: 4 kB / 444.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4474, allocations: 4 kB / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.4476, allocations: 44.81 kB / 444.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4478, allocations: 31.92 kB / 444.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.4491, allocations: 1.408 MB / 446 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.4492, allocations: 8.031 kB / 446 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4492, allocations: 8 kB / 446 MB, free: 7.117 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.0001398/0.4493, allocations: 141.8 kB / 446.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.4494, allocations: 11.91 kB / 446.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.4494, allocations: 25.45 kB / 446.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4494, allocations: 128 / 446.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4494, allocations: 7.938 kB / 446.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4494, allocations: 4 kB / 446.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.4497, allocations: 196.7 kB / 446.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4497, allocations: 0 / 446.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.45, allocations: 55.89 kB / 446.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.45, allocations: 0 / 446.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.45, allocations: 4 kB / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.45, allocations: 4 kB / 446.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.45, allocations: 3.938 kB / 446.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.4505, allocations: 414.5 kB / 446.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.4506, allocations: 15.91 kB / 446.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4506, allocations: 0 / 446.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4507, allocations: 12.03 kB / 446.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.4507, allocations: 11.92 kB / 446.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4507, allocations: 4 kB / 446.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4508, allocations: 120.2 kB / 447 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4508, allocations: 3.938 kB / 447 MB, free: 6.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001681/0.4525, allocations: 0.5155 MB / 447.5 MB, free: 5.523 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.001745/0.4543, allocations: 1.376 MB / 448.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.4549, allocations: 376.7 kB / 449.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4549, allocations: 0 / 449.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4551, allocations: 83.83 kB / 449.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4554, allocations: 35.95 kB / 449.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.4585, allocations: 2.472 MB / 451.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.4586, allocations: 118.6 kB / 452 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.934e-05/0.4587, allocations: 33 kB / 452 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.4588, allocations: 47.42 kB / 452 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4588, allocations: 4 kB / 452 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.5354, allocations: 10.48 MB / 462.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.03, allocations: 7.922 kB / 462.5 MB, free: 6.465 MB / 366.1 MB " [Timeout remaining time 647] (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.771936272270977]