Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.0009782/0.0009782, allocations: 84.39 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001337/0.001337, allocations: 166.9 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9945/0.9945, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.71e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00418/0.004197, allocations: 4.285 MB / 255.7 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.006311, allocations: 1.349 MB / 257.1 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.006674, allocations: 35.69 kB / 257.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.006975, allocations: 182.2 kB / 257.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.007264, allocations: 178.1 kB / 257.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.007894, allocations: 379.3 kB / 257.9 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.008667, allocations: 1.001 MB / 258.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.009025, allocations: 263.4 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.009531, allocations: 0.5027 MB / 259.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.00975, allocations: 239.1 kB / 259.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.009822, allocations: 72 kB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.009978, allocations: 111.9 kB / 260 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.01007, allocations: 183.2 kB / 260.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.01024, allocations: 263.2 kB / 260.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.01083, allocations: 0.6806 MB / 261.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01084, allocations: 0 / 261.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01084, allocations: 0 / 261.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.01084, allocations: 0 / 261.1 MB, free: 13.5 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00101/0.01185, allocations: 1.196 MB / 262.3 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.01189, allocations: 12.03 kB / 262.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.01203, allocations: 175.2 kB / 262.5 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.0126, allocations: 0.597 MB / 263.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.01264, allocations: 66 kB / 263.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.01272, allocations: 87.89 kB / 263.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.01354, allocations: 0.7719 MB / 264 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.01356, allocations: 11.92 kB / 264.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.0136, allocations: 35.94 kB / 264.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.01362, allocations: 24 kB / 264.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.01393, allocations: 277.3 kB / 264.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.01649, allocations: 5.487 MB / 269.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.01676, allocations: 200.6 kB / 270.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.01683, allocations: 76.38 kB / 270.1 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.01691, allocations: 24.3 kB / 270.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.01693, allocations: 37.77 kB / 270.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 1.473e-06/0.01693, allocations: 0 / 270.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.001634/0.01857, allocations: 1.178 MB / 271.4 MB, free: 2.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.01859, allocations: 55.91 kB / 271.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.01892, allocations: 0.5615 MB / 272 MB, free: 2.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01894, allocations: 37.7 kB / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.01918, allocations: 0.5335 MB / 272.6 MB, free: 1.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.01929, allocations: 218.1 kB / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.01941, allocations: 148.2 kB / 272.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01957, allocations: 0.5585 MB / 273.5 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.01965, allocations: 69.94 kB / 273.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.01991, allocations: 488.8 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.02036, allocations: 0.6346 MB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02036, allocations: 4 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0005537/0.02092, allocations: 0.6059 MB / 275.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02093, allocations: 8 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.02094, allocations: 12 kB / 275.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.02105, allocations: 43.67 kB / 275.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.02136, allocations: 183.6 kB / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009646/0.02233, allocations: 2.056 MB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.02248, allocations: 24 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.02251, allocations: 32 kB / 277.6 MB, free: 11.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.02266, allocations: 216.2 kB / 277.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.02273, allocations: 87.53 kB / 277.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.0228, allocations: 75.08 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.02281, allocations: 4 kB / 278 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.02281, allocations: 8.219 kB / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.02282, allocations: 4.031 kB / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.02378, allocations: 1.037 MB / 279 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.02378, allocations: 4.344 kB / 279 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.02403, allocations: 115.8 kB / 279.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/0.02409, allocations: 23.67 kB / 279.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.02411, allocations: 16 kB / 279.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006593/0.02477, allocations: 1.713 MB / 280.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02477, allocations: 4.062 kB / 280.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.02527, allocations: 0.6698 MB / 281.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.02532, allocations: 67.47 kB / 281.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.02535, allocations: 12 kB / 281.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.02545, allocations: 19.92 kB / 281.7 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.02549, allocations: 47.81 kB / 281.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.02551, allocations: 12 kB / 281.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.02568, allocations: 338.9 kB / 282.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02568, allocations: 4 kB / 282.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.02603, allocations: 140 kB / 282.2 MB, free: 7.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 9.695e-05/0.02613, allocations: 115.1 kB / 282.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.02658, allocations: 0.5117 MB / 282.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.02658, allocations: 4 kB / 282.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.02677, allocations: 312.2 kB / 283.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.02713, allocations: 99.08 kB / 283.2 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.02875, allocations: 1.642 MB / 284.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.02885, allocations: 159.1 kB / 285 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.02901, allocations: 93.91 kB / 285.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.0292, allocations: 194.1 kB / 285.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0292, allocations: 0 / 285.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of Templates: time 0.008992/0.0382, allocations: 5.755 MB / 291.1 MB, free: 14.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.884341435972601]