Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00105/0.00105, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001064/0.001064, allocations: 174.3 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9368/0.9368, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.717e-05, allocations: 6.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006227/0.006255, allocations: 4.347 MB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.009959, allocations: 1.441 MB / 279.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.01063, allocations: 35.69 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.01109, allocations: 174.2 kB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.01159, allocations: 190.1 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009067/0.01249, allocations: 375.3 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01367, allocations: 0.9935 MB / 281 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.01416, allocations: 283.4 kB / 281.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007917/0.01496, allocations: 0.5105 MB / 281.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.01529, allocations: 239.1 kB / 282 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.01539, allocations: 72 kB / 282.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.01564, allocations: 119.9 kB / 282.2 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.01578, allocations: 175.3 kB / 282.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.01603, allocations: 267.2 kB / 282.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.01689, allocations: 0.6806 MB / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.0169, allocations: 0 / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0169, allocations: 0 / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.01691, allocations: 0 / 283.3 MB, free: 7.336 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.001345/0.01826, allocations: 1.083 MB / 284.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.0183, allocations: 12.03 kB / 284.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.01861, allocations: 143.8 kB / 284.6 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.01947, allocations: 0.5005 MB / 285.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.01952, allocations: 62 kB / 285.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.01967, allocations: 83.94 kB / 285.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.02034, allocations: 0.7011 MB / 285.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.02036, allocations: 15.88 kB / 285.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.0204, allocations: 35.94 kB / 286 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.02041, allocations: 24 kB / 286 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.02071, allocations: 261.4 kB / 286.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.02271, allocations: 3.726 MB / 290 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.02294, allocations: 196.1 kB / 290.2 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.02301, allocations: 65.58 kB / 290.2 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.02307, allocations: 16.36 kB / 290.3 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.02309, allocations: 42.88 kB / 290.3 MB, free: 32 kB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.463e-06/0.02309, allocations: 0 / 290.3 MB, free: 32 kB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.09682/0.1199, allocations: 1.153 MB / 291.5 MB, free: 25.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.1199, allocations: 60.06 kB / 291.5 MB, free: 25.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.1202, allocations: 0.5146 MB / 292 MB, free: 25.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1202, allocations: 36.64 kB / 292.1 MB, free: 25.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1204, allocations: 419.9 kB / 292.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.1204, allocations: 223.2 kB / 292.7 MB, free: 25.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.1205, allocations: 142.9 kB / 292.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.1206, allocations: 389.3 kB / 293.2 MB, free: 24.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.1207, allocations: 65.27 kB / 293.3 MB, free: 24.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1208, allocations: 370.9 kB / 293.6 MB, free: 24.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1211, allocations: 0.5143 MB / 294.1 MB, free: 24.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1212, allocations: 2.188 kB / 294.2 MB, free: 24.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.000485/0.1216, allocations: 495.2 kB / 294.6 MB, free: 24.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1217, allocations: 9 kB / 294.6 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1217, allocations: 10.73 kB / 294.7 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.815e-05/0.1218, allocations: 39.75 kB / 294.7 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.1221, allocations: 203 kB / 294.9 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.1227, allocations: 1.404 MB / 296.3 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1228, allocations: 23.91 kB / 296.3 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1228, allocations: 31.97 kB / 296.3 MB, free: 22.86 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.0001072/0.123, allocations: 162.7 kB / 296.5 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.123, allocations: 60.28 kB / 296.6 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.1231, allocations: 76.11 kB / 296.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1231, allocations: 5.703 kB / 296.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1231, allocations: 5.922 kB / 296.7 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1231, allocations: 3.422 kB / 296.7 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.1239, allocations: 0.818 MB / 297.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1239, allocations: 2.375 kB / 297.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.1242, allocations: 138.6 kB / 297.6 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-05/0.1242, allocations: 23.19 kB / 297.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1242, allocations: 15.05 kB / 297.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003057/0.1245, allocations: 1.163 MB / 298.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1245, allocations: 3.5 kB / 298.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.1249, allocations: 0.5109 MB / 299.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1249, allocations: 69 kB / 299.4 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.125, allocations: 19.73 kB / 299.4 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.1251, allocations: 11.23 kB / 299.4 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.1251, allocations: 41.8 kB / 299.5 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1251, allocations: 14.03 kB / 299.5 MB, free: 20.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1253, allocations: 228.8 kB / 299.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1253, allocations: 3.938 kB / 299.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.1256, allocations: 137 kB / 299.8 MB, free: 20.88 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 7.864e-05/0.1257, allocations: 102.1 kB / 299.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.1261, allocations: 455.6 kB / 300.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.1261, allocations: 9.844 kB / 300.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1263, allocations: 260.1 kB / 300.6 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1266, allocations: 97.84 kB / 300.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.128, allocations: 1.43 MB / 302.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1281, allocations: 161.9 kB / 302.3 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.1283, allocations: 90.47 kB / 302.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.1285, allocations: 167.9 kB / 302.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1285, allocations: 0 / 302.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of Templates: time 0.008016/0.1365, allocations: 5.929 MB / 308.5 MB, free: 17.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.617056800983846]