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.000826/0.000826, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007852/0.0007852, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8631/0.8631, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.174e-05, allocations: 6.219 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002602/0.002624, allocations: 1.563 MB / 320 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.006483, allocations: 2.957 MB / 322.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.006644, allocations: 0 / 322.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.007026, allocations: 59.58 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.007094, allocations: 15.86 kB / 323 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.01023, allocations: 1.486 MB / 324.5 MB, free: 248 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.01047, allocations: 151.6 kB / 324.6 MB, free: 96 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.01058, allocations: 21.28 kB / 324.7 MB, free: 72 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.01068, allocations: 75.91 kB / 324.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.01076, allocations: 43.83 kB / 324.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.01078, allocations: 8 kB / 324.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.01212, allocations: 1.421 MB / 326.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01224, allocations: 39.89 kB / 326.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.01229, allocations: 39.84 kB / 326.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01347, allocations: 1.447 MB / 327.7 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01347, allocations: 0 / 327.7 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01347, allocations: 4 kB / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.01348, allocations: 0 / 327.7 MB, free: 12.99 MB / 298.7 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.001005/0.01448, allocations: 496.7 kB / 328.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.01453, allocations: 8.922 kB / 328.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.01456, allocations: 42.73 kB / 328.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.01461, allocations: 24.83 kB / 328.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.01483, allocations: 161.5 kB / 328.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.01484, allocations: 4.375 kB / 328.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.01487, allocations: 15.94 kB / 328.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.01509, allocations: 201.5 kB / 328.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.0151, allocations: 4 kB / 328.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.01512, allocations: 3.938 kB / 328.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.01512, allocations: 0 / 328.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.01522, allocations: 59.95 kB / 328.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.0157, allocations: 339.7 kB / 329.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.01599, allocations: 126.5 kB / 329.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01605, allocations: 40.83 kB / 329.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01607, allocations: 4 kB / 329.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.01609, allocations: 30.56 kB / 329.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.0161, allocations: 0 / 329.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001407/0.0175, allocations: 0.9925 MB / 330.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.01756, allocations: 128.5 kB / 330.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.01769, allocations: 170.3 kB / 330.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01771, allocations: 29.7 kB / 330.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.01777, allocations: 120.5 kB / 330.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.0178, allocations: 51.55 kB / 330.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.01786, allocations: 53.64 kB / 330.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.01794, allocations: 322.8 kB / 331.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01807, allocations: 103.9 kB / 331.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01821, allocations: 205.1 kB / 331.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01841, allocations: 204.9 kB / 331.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01841, allocations: 0 / 331.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000345/0.01876, allocations: 318.1 kB / 331.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01877, allocations: 4 kB / 331.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.01879, allocations: 4 kB / 331.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.01892, allocations: 44.81 kB / 332 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.01901, allocations: 27.98 kB / 332 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008988/0.0199, allocations: 1.416 MB / 333.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.01997, allocations: 9.234 kB / 333.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01998, allocations: 8 kB / 333.4 MB, free: 6.828 MB / 298.7 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 9.558e-05/0.02008, allocations: 137.8 kB / 333.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.0201, allocations: 7.953 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.02013, allocations: 25.47 kB / 333.6 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.02013, allocations: 0 / 333.6 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.02013, allocations: 3.938 kB / 333.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02014, allocations: 7.984 kB / 333.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.0203, allocations: 200.8 kB / 333.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0203, allocations: 0 / 333.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.02045, allocations: 47.97 kB / 333.9 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.02045, allocations: 3.938 kB / 333.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.02046, allocations: 8 kB / 333.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.02046, allocations: 7.938 kB / 333.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02046, allocations: 3.938 kB / 333.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.02081, allocations: 411.2 kB / 334.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.02083, allocations: 15.94 kB / 334.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.02084, allocations: 4 kB / 334.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.0209, allocations: 8 kB / 334.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.02094, allocations: 11.92 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.02095, allocations: 8 kB / 334.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.997e-05/0.02102, allocations: 128.2 kB / 334.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02102, allocations: 0 / 334.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00118/0.0222, allocations: 0.5155 MB / 335 MB, free: 5.23 MB / 298.7 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.00145/0.02365, allocations: 1.518 MB / 336.5 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.02413, allocations: 373.9 kB / 336.9 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02413, allocations: 0 / 336.9 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.02423, allocations: 83.94 kB / 336.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.02448, allocations: 39.8 kB / 337 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.02673, allocations: 2.444 MB / 339.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.02683, allocations: 122.8 kB / 339.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.02691, allocations: 33.11 kB / 339.6 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.02698, allocations: 48.47 kB / 339.6 MB, free: 436 kB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02698, allocations: 4 kB / 339.6 MB, free: 432 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.05924, allocations: 10.68 MB / 350.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.131, allocations: 10.89 kB / 350.3 MB, free: 5.867 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 8.754134975373745]