Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.0008359/0.0008359, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001017/0.001017, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.872/0.872, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.449e-05, allocations: 7.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002333/0.002357, allocations: 1.925 MB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.006545, allocations: 3.503 MB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.006751, allocations: 19.75 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.007192, allocations: 191 kB / 330.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.007299, allocations: 47.58 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.01086, allocations: 2.047 MB / 332.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.01138, allocations: 0.5026 MB / 332.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.01151, allocations: 29.27 kB / 332.8 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.01175, allocations: 247.5 kB / 333 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.0119, allocations: 139.6 kB / 333.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.01194, allocations: 24 kB / 333.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.01379, allocations: 1.877 MB / 335.1 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.01399, allocations: 131.5 kB / 335.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.01409, allocations: 99.67 kB / 335.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.01608, allocations: 2.093 MB / 337.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01608, allocations: 0 / 337.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.01608, allocations: 0 / 337.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.01609, allocations: 4 kB / 337.4 MB, free: 2.992 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001506/0.0176, allocations: 0.8468 MB / 338.2 MB, free: 2.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.01766, allocations: 8.031 kB / 338.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.01772, allocations: 50.73 kB / 338.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.01782, allocations: 52.55 kB / 338.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.01823, allocations: 290.6 kB / 338.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.01825, allocations: 16.66 kB / 338.6 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.0183, allocations: 28.33 kB / 338.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.01875, allocations: 0.6017 MB / 339.3 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.01876, allocations: 3.938 kB / 339.3 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.01878, allocations: 4 kB / 339.3 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01878, allocations: 4 kB / 339.3 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.01897, allocations: 144.7 kB / 339.4 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.01976, allocations: 0.593 MB / 340 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.02022, allocations: 314.4 kB / 340.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.02034, allocations: 108.7 kB / 340.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.02035, allocations: 4 kB / 340.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.02038, allocations: 42.56 kB / 340.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/0.02039, allocations: 0 / 340.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004895/0.02087, allocations: 389.5 kB / 340.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.02099, allocations: 363.8 kB / 341.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.02128, allocations: 409.8 kB / 341.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.02131, allocations: 33.7 kB / 341.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.02141, allocations: 196.9 kB / 341.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.02146, allocations: 87.28 kB / 341.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.02156, allocations: 109.5 kB / 342 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.02166, allocations: 358.7 kB / 342.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.02187, allocations: 200.4 kB / 342.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.02223, allocations: 0.6234 MB / 343.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.0226, allocations: 388.7 kB / 343.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0226, allocations: 0 / 343.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007091/0.02331, allocations: 0.6565 MB / 344.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.02333, allocations: 11.94 kB / 344.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.02335, allocations: 4 kB / 344.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.02364, allocations: 126.5 kB / 344.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.02379, allocations: 71.89 kB / 344.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.02613, allocations: 4.228 MB / 348.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.02626, allocations: 51.62 kB / 348.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.02628, allocations: 12 kB / 348.7 MB, free: 6.781 MB / 314.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.02644, allocations: 178 kB / 348.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.02648, allocations: 43.7 kB / 348.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.02652, allocations: 47.78 kB / 349 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02652, allocations: 4 kB / 349 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.02652, allocations: 0 / 349 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.02653, allocations: 0 / 349 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.02676, allocations: 296.4 kB / 349.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02677, allocations: 0 / 349.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.02692, allocations: 47.91 kB / 349.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02692, allocations: 0 / 349.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.02694, allocations: 11.98 kB / 349.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.02694, allocations: 0 / 349.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02694, allocations: 4 kB / 349.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.02737, allocations: 0.5108 MB / 349.9 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.0274, allocations: 39.66 kB / 349.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.02743, allocations: 12 kB / 349.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.02751, allocations: 11.98 kB / 349.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.02756, allocations: 19.91 kB / 349.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.02757, allocations: 12 kB / 349.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.02776, allocations: 275.1 kB / 350.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02776, allocations: 0 / 350.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001385/0.02914, allocations: 0.648 MB / 350.9 MB, free: 4.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001718/0.03086, allocations: 1.743 MB / 352.6 MB, free: 2.797 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008734/0.03173, allocations: 0.9219 MB / 353.5 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.03174, allocations: 0 / 353.5 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.03186, allocations: 115.9 kB / 353.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.03224, allocations: 116.3 kB / 353.8 MB, free: 1.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.03647, allocations: 4.485 MB / 358.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.03663, allocations: 241 kB / 358.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.03678, allocations: 70.92 kB / 358.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.03691, allocations: 128.5 kB / 358.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03691, allocations: 0 / 358.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.07266, allocations: 18.43 MB / 377.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.703, allocations: 8 kB / 377.1 MB, free: 10.24 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.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: 9.383344057947397]