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.001431/0.001431, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001471/0.001471, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 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 1.433/1.433, allocations: 173.4 MB / 200.8 MB, free: 9.273 MB / 186.7 MB " [Timeout remaining time 178] 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.623e-06/1.623e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.262e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006772/0.006805, allocations: 4.104 MB / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.009897, allocations: 1.313 MB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.01034, allocations: 27.75 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.01078, allocations: 178.2 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.01119, allocations: 182.2 kB / 273.1 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.01202, allocations: 371.3 kB / 273.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01326, allocations: 0.9973 MB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.01377, allocations: 267.4 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007015/0.01447, allocations: 0.491 MB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.01482, allocations: 231.1 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.01493, allocations: 75.94 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.01516, allocations: 119.9 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01535, allocations: 171.3 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.01567, allocations: 259.2 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.01701, allocations: 1.094 MB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.01701, allocations: 8 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01702, allocations: 0 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.01703, allocations: 0 / 277.2 MB, free: 12.8 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.001786/0.01881, allocations: 1.085 MB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.01885, allocations: 8.922 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.01913, allocations: 171.3 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.02027, allocations: 0.5981 MB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.02033, allocations: 58 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.02046, allocations: 83.95 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.02208, allocations: 0.8482 MB / 280 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.02213, allocations: 15.88 kB / 280 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.02221, allocations: 43.94 kB / 280.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.02224, allocations: 20 kB / 280.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.02324, allocations: 467.3 kB / 280.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.02777, allocations: 4.093 MB / 284.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.0284, allocations: 287.9 kB / 284.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.02869, allocations: 141.4 kB / 285 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.02881, allocations: 16.36 kB / 285.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.02885, allocations: 38.94 kB / 285.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.02886, allocations: 4 kB / 285.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003639/0.03249, allocations: 1.613 MB / 286.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.03255, allocations: 59.89 kB / 286.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.03326, allocations: 0.5546 MB / 287.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.0333, allocations: 33.7 kB / 287.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.03374, allocations: 491.8 kB / 287.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.03395, allocations: 222.1 kB / 288.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.03415, allocations: 134.6 kB / 288.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.03442, allocations: 386.7 kB / 288.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.03474, allocations: 161.9 kB / 288.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.03536, allocations: 459.3 kB / 289.2 MB, free: 160 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1056/0.141, allocations: 0.6589 MB / 289.8 MB, free: 31.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.141, allocations: 6.781 kB / 289.8 MB, free: 31.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001151/0.1421, allocations: 0.7746 MB / 290.6 MB, free: 31.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1421, allocations: 9.641 kB / 290.6 MB, free: 31.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.1422, allocations: 9.438 kB / 290.6 MB, free: 31.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.1424, allocations: 55.56 kB / 290.7 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.1429, allocations: 183 kB / 290.9 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009794/0.1439, allocations: 1.551 MB / 292.4 MB, free: 30.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1442, allocations: 26.88 kB / 292.4 MB, free: 30.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.1443, allocations: 37.72 kB / 292.5 MB, free: 30.22 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.0003224/0.1446, allocations: 229.7 kB / 292.7 MB, free: 30.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1447, allocations: 95.41 kB / 292.8 MB, free: 30.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.1449, allocations: 79.83 kB / 292.9 MB, free: 29.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1449, allocations: 6.656 kB / 292.9 MB, free: 29.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1449, allocations: 5.031 kB / 292.9 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1449, allocations: 3.609 kB / 292.9 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.1469, allocations: 1.18 MB / 294.1 MB, free: 29.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1469, allocations: 7.094 kB / 294.1 MB, free: 29.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.1474, allocations: 117.4 kB / 294.2 MB, free: 29.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-05/0.1475, allocations: 32.2 kB / 294.2 MB, free: 29.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.1475, allocations: 18.58 kB / 294.2 MB, free: 29.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005381/0.148, allocations: 1.239 MB / 295.5 MB, free: 28.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.148, allocations: 3.25 kB / 295.5 MB, free: 28.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009452/0.149, allocations: 0.7994 MB / 296.3 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.149, allocations: 65.88 kB / 296.3 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1491, allocations: 14.92 kB / 296.4 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1493, allocations: 14.56 kB / 296.4 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.1494, allocations: 50.2 kB / 296.4 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.1494, allocations: 18.41 kB / 296.4 MB, free: 27.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003716/0.1498, allocations: 367.4 kB / 296.8 MB, free: 27.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1498, allocations: 0 / 296.8 MB, free: 27.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00066/0.1505, allocations: 137.7 kB / 296.9 MB, free: 27.37 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.0001152/0.1506, allocations: 114.4 kB / 297 MB, free: 27.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.1515, allocations: 0.5615 MB / 297.6 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1515, allocations: 1.375 kB / 297.6 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.1518, allocations: 308.5 kB / 297.9 MB, free: 26.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.1524, allocations: 114.8 kB / 298 MB, free: 26.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1545, allocations: 1.657 MB / 299.7 MB, free: 25.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1548, allocations: 375 kB / 300 MB, free: 25.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.1551, allocations: 93.25 kB / 300.1 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1552, allocations: 60.73 kB / 300.2 MB, free: 25.56 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1552, allocations: 0 / 300.2 MB, free: 25.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01057/0.1658, allocations: 5.266 MB / 305.5 MB, free: 24.07 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5002590279327706]