Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001373/0.001373, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001376/0.001376, allocations: 150.9 kB / 24.89 MB, free: 8.277 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.9706/0.9706, allocations: 173.4 MB / 201.5 MB, free: 9.219 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: 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 268.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.161e-05, allocations: 2.312 kB / 268.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003473/0.003485, allocations: 4.305 MB / 272.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004981, allocations: 1.367 MB / 274.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.005179, allocations: 35.69 kB / 274.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.005431, allocations: 174.2 kB / 274.3 MB, free: 336 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.005672, allocations: 178.1 kB / 274.5 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.006136, allocations: 375.3 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.006708, allocations: 0.9933 MB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.006985, allocations: 275.4 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.007333, allocations: 0.5027 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.007528, allocations: 243.1 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.007587, allocations: 72 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.00771, allocations: 107.9 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.007798, allocations: 183.2 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.007951, allocations: 263.2 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.008509, allocations: 0.6806 MB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.008511, allocations: 0 / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.008511, allocations: 0 / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008516, allocations: 0 / 278.2 MB, free: 12.45 MB / 266.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.0008135/0.00933, allocations: 1.075 MB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.009358, allocations: 8.922 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.009459, allocations: 135.9 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.009946, allocations: 0.4966 MB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.009976, allocations: 62 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.01004, allocations: 79.98 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.01057, allocations: 0.7042 MB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.01059, allocations: 11.89 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.01063, allocations: 35.94 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01064, allocations: 24 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.01092, allocations: 265.4 kB / 281.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.01265, allocations: 3.73 MB / 284.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.01287, allocations: 195.9 kB / 285 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.01294, allocations: 69.59 kB / 285 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.013, allocations: 16.36 kB / 285.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.02e-05/0.01309, allocations: 42.88 kB / 285.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.503e-06/0.01309, allocations: 0 / 285.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001452/0.01455, allocations: 1.154 MB / 286.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.01457, allocations: 63.78 kB / 286.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.01484, allocations: 0.5154 MB / 286.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01485, allocations: 33.7 kB / 286.9 MB, free: 3.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.015, allocations: 420.9 kB / 287.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.01509, allocations: 218.2 kB / 287.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.01518, allocations: 138.5 kB / 287.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.01528, allocations: 386.6 kB / 288 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.01535, allocations: 65.97 kB / 288.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.01553, allocations: 375.2 kB / 288.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01585, allocations: 0.5079 MB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.01586, allocations: 7.938 kB / 288.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004036/0.01626, allocations: 483.5 kB / 289.4 MB, free: 464 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01628, allocations: 12.03 kB / 289.4 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01628, allocations: 8 kB / 289.4 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.642e-05/0.01638, allocations: 44.84 kB / 289.5 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.01667, allocations: 183.7 kB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0979/0.1146, allocations: 1.402 MB / 291.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.1149, allocations: 25.95 kB / 291.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1149, allocations: 32.19 kB / 291.1 MB, free: 28.68 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.000148/0.115, allocations: 162.7 kB / 291.3 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.1151, allocations: 61.16 kB / 291.3 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.1152, allocations: 78.12 kB / 291.4 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1152, allocations: 8.844 kB / 291.4 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1152, allocations: 5.781 kB / 291.4 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1152, allocations: 3.703 kB / 291.4 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.116, allocations: 0.8221 MB / 292.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1161, allocations: 3.562 kB / 292.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.1163, allocations: 115.7 kB / 292.4 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.436e-05/0.1164, allocations: 20.94 kB / 292.4 MB, free: 28.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1164, allocations: 18.66 kB / 292.4 MB, free: 28.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003043/0.1167, allocations: 1.149 MB / 293.6 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1167, allocations: 10.09 kB / 293.6 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.1171, allocations: 0.5148 MB / 294.1 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.1171, allocations: 59.5 kB / 294.1 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1172, allocations: 14.83 kB / 294.2 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.1173, allocations: 13.59 kB / 294.2 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.1173, allocations: 45.28 kB / 294.2 MB, free: 26.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1173, allocations: 16.33 kB / 294.2 MB, free: 26.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1175, allocations: 229.4 kB / 294.5 MB, free: 26.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1175, allocations: 0 / 294.5 MB, free: 26.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.1179, allocations: 137.5 kB / 294.6 MB, free: 26.87 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.236e-05/0.118, allocations: 100.4 kB / 294.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.1184, allocations: 452.2 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.1184, allocations: 13.91 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1185, allocations: 258.4 kB / 295.4 MB, free: 26.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1189, allocations: 109.5 kB / 295.5 MB, free: 26.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1203, allocations: 1.431 MB / 296.9 MB, free: 25.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1204, allocations: 160.8 kB / 297.1 MB, free: 25.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1206, allocations: 90.19 kB / 297.2 MB, free: 25.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1208, allocations: 162.8 kB / 297.3 MB, free: 25.62 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1208, allocations: 0 / 297.3 MB, free: 25.62 MB / 266.7 MB Notification: Performance of Templates: time 0.009281/0.1301, allocations: 5.749 MB / 303.1 MB, free: 24.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.7089995881542563]