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.001274/0.001274, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001152/0.001152, allocations: 163.5 kB / 25.7 MB, free: 7.434 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.9217/0.9217, allocations: 158.6 MB / 187.6 MB, free: 2.801 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 2.325e-06/2.325e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.062e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005716/0.005747, allocations: 4.348 MB / 255.9 MB, free: 2.863 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.008647, allocations: 1.403 MB / 257.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.009164, allocations: 35.69 kB / 257.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.009549, allocations: 174.2 kB / 257.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.00999, allocations: 186 kB / 257.7 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.01103, allocations: 367.4 kB / 258.1 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.01205, allocations: 0.9934 MB / 259 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.01249, allocations: 279.4 kB / 259.3 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.01318, allocations: 0.5027 MB / 259.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.01354, allocations: 235.1 kB / 260 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.01365, allocations: 79.98 kB / 260.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.01389, allocations: 119.9 kB / 260.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.01401, allocations: 175.2 kB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.01424, allocations: 267.2 kB / 260.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008289/0.01507, allocations: 0.6767 MB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01507, allocations: 0 / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01507, allocations: 0 / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.01509, allocations: 0 / 261.4 MB, free: 13.36 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.001354/0.01645, allocations: 1.072 MB / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.01649, allocations: 8.031 kB / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01666, allocations: 131.9 kB / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.01745, allocations: 0.5005 MB / 263.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.0175, allocations: 58 kB / 263.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.01759, allocations: 87.94 kB / 263.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.01846, allocations: 0.708 MB / 263.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.01849, allocations: 7.984 kB / 263.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.01854, allocations: 39.94 kB / 264 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.01856, allocations: 23.98 kB / 264 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.01902, allocations: 265.3 kB / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.02124, allocations: 3.73 MB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.02152, allocations: 184.2 kB / 268.2 MB, free: 6.215 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.02159, allocations: 69.52 kB / 268.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/0.02168, allocations: 20.36 kB / 268.2 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.0217, allocations: 38.94 kB / 268.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.544e-06/0.0217, allocations: 0 / 268.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.001685/0.02339, allocations: 1.155 MB / 269.4 MB, free: 4.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.02342, allocations: 55.91 kB / 269.5 MB, free: 4.805 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.02372, allocations: 0.5191 MB / 270 MB, free: 4.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.02373, allocations: 37.7 kB / 270 MB, free: 4.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.02389, allocations: 416.9 kB / 270.5 MB, free: 3.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.02398, allocations: 218.1 kB / 270.7 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.02408, allocations: 142.5 kB / 270.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.0242, allocations: 390.6 kB / 271.2 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.02427, allocations: 65.97 kB / 271.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.02446, allocations: 367.2 kB / 271.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.02479, allocations: 0.5119 MB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02479, allocations: 7.938 kB / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004389/0.02523, allocations: 490.6 kB / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02525, allocations: 8.938 kB / 272.6 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02526, allocations: 12 kB / 272.6 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.02538, allocations: 44.84 kB / 272.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.02575, allocations: 203.4 kB / 272.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008159/0.02656, allocations: 1.406 MB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.02671, allocations: 28 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.02673, allocations: 35.94 kB / 274.3 MB, free: 15.57 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.0001418/0.02687, allocations: 169.5 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.02693, allocations: 63.94 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.027, allocations: 71.08 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.027, allocations: 11.94 kB / 274.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.02701, allocations: 0 / 274.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.02701, allocations: 3.984 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.02782, allocations: 0.817 MB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.02782, allocations: 4 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.0281, allocations: 127.8 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-05/0.02817, allocations: 24.84 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.02819, allocations: 19.94 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005258/0.02872, allocations: 1.155 MB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.02872, allocations: 4 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.02914, allocations: 0.5125 MB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.02918, allocations: 63.52 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.02921, allocations: 20.11 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.02931, allocations: 12 kB / 277.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.02937, allocations: 43.88 kB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.02938, allocations: 23.92 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.02954, allocations: 228.5 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02954, allocations: 0 / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000392/0.02993, allocations: 140 kB / 277.8 MB, free: 11.86 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.0001137/0.03005, allocations: 96.34 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004354/0.03048, allocations: 451.3 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.03049, allocations: 12.62 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.03065, allocations: 256.1 kB / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.03098, allocations: 95 kB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.03247, allocations: 1.424 MB / 280.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.03257, allocations: 163.1 kB / 280.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.03273, allocations: 86.03 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.0329, allocations: 167.3 kB / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of SimCode: time 1.522e-06/0.0329, allocations: 0 / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of Templates: time 0.008479/0.04138, allocations: 5.912 MB / 286.5 MB, free: 3.141 MB / 266.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 -s gbode -gbm=radauIIA3 -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.881504910066724]