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.0009566/0.0009566, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009598/0.0009598, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8289/0.8289, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.643e-06/1.643e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.009e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.008048/0.008068, allocations: 4.397 MB / 255.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.01071, allocations: 1.353 MB / 256.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.0111, allocations: 35.69 kB / 256.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.01148, allocations: 178.2 kB / 257 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.01188, allocations: 190 kB / 257.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.01262, allocations: 367.3 kB / 257.5 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.01351, allocations: 1.005 MB / 258.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.01393, allocations: 267.4 kB / 258.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.0145, allocations: 0.5065 MB / 259.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01477, allocations: 239.1 kB / 259.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.01486, allocations: 72 kB / 259.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01505, allocations: 108 kB / 259.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.01517, allocations: 175.3 kB / 259.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.01539, allocations: 267.2 kB / 260.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.01612, allocations: 0.6767 MB / 260.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01612, allocations: 4 kB / 260.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01612, allocations: 0 / 260.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.01613, allocations: 4 kB / 260.8 MB, free: 9.75 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.001324/0.01746, allocations: 1.181 MB / 262 MB, free: 8.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.0175, allocations: 12.03 kB / 262 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.0177, allocations: 175.3 kB / 262.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.01849, allocations: 0.6047 MB / 262.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.01854, allocations: 62 kB / 262.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.01864, allocations: 80 kB / 262.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.01996, allocations: 0.8111 MB / 263.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.01999, allocations: 11.89 kB / 263.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.02005, allocations: 43.94 kB / 263.8 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.02007, allocations: 20 kB / 263.8 MB, free: 6.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.02067, allocations: 323.3 kB / 264.1 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.02393, allocations: 5.592 MB / 269.7 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.02436, allocations: 212.7 kB / 269.9 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.02449, allocations: 84.39 kB / 270 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.996e-05/0.02459, allocations: 32.3 kB / 270.1 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.02462, allocations: 41.77 kB / 270.1 MB, free: 20 kB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.225e-06/0.02462, allocations: 0 / 270.1 MB, free: 20 kB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.002549/0.02717, allocations: 1.353 MB / 271.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.02721, allocations: 59.91 kB / 271.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.02769, allocations: 0.5618 MB / 272.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.02772, allocations: 41.64 kB / 272.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.02801, allocations: 0.5297 MB / 272.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.02815, allocations: 222.1 kB / 272.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.0283, allocations: 140.2 kB / 273 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.02848, allocations: 0.5547 MB / 273.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.02865, allocations: 93.92 kB / 273.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.02903, allocations: 0.497 MB / 274.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.02965, allocations: 0.6504 MB / 274.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.02965, allocations: 4 kB / 274.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0008358/0.03049, allocations: 0.6524 MB / 275.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.03051, allocations: 8 kB / 275.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.03052, allocations: 12 kB / 275.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.03068, allocations: 52.42 kB / 275.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.03113, allocations: 183.7 kB / 275.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.03253, allocations: 2.082 MB / 277.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.03275, allocations: 27.94 kB / 277.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.03279, allocations: 36 kB / 277.8 MB, free: 7.656 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.000175/0.03297, allocations: 212.3 kB / 278 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.03306, allocations: 99.52 kB / 278.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.03314, allocations: 71.08 kB / 278.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.03315, allocations: 11.98 kB / 278.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.03316, allocations: 0 / 278.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.03316, allocations: 3.938 kB / 278.2 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.03419, allocations: 1.154 MB / 279.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.0342, allocations: 0 / 279.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.03446, allocations: 119.8 kB / 279.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.007e-05/0.03452, allocations: 19.69 kB / 279.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.03454, allocations: 23.92 kB / 279.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006122/0.03516, allocations: 1.728 MB / 281.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.03516, allocations: 7.984 kB / 281.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.03574, allocations: 0.7127 MB / 282 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.03578, allocations: 63.52 kB / 282.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.03581, allocations: 12 kB / 282.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.03591, allocations: 15.98 kB / 282.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.03597, allocations: 39.94 kB / 282.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.03599, allocations: 24 kB / 282.1 MB, free: 3.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.03623, allocations: 359 kB / 282.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03623, allocations: 0 / 282.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.03659, allocations: 140 kB / 282.6 MB, free: 2.562 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 0.0001048/0.0367, allocations: 111.1 kB / 282.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.03724, allocations: 0.5402 MB / 283.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.03724, allocations: 0 / 283.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.03745, allocations: 335 kB / 283.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.03783, allocations: 107.1 kB / 283.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.03989, allocations: 1.649 MB / 285.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.04, allocations: 159.1 kB / 285.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.04015, allocations: 89.92 kB / 285.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.04024, allocations: 60.48 kB / 285.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04024, allocations: 0 / 285.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Templates: time 0.009284/0.04952, allocations: 5.517 MB / 291.2 MB, free: 9.883 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.774912326131016]