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.0009471/0.0009471, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0008789/0.0008789, allocations: 145.1 kB / 24.54 MB, free: 28 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 0.9549/0.9549, allocations: 173.4 MB / 201.2 MB, free: 9.289 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.633e-06/1.633e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.801e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.01041/0.01044, allocations: 4.401 MB / 272.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.01251, allocations: 1.314 MB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.01285, allocations: 31.69 kB / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.0132, allocations: 190.1 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.01352, allocations: 182.1 kB / 274.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.0142, allocations: 379.3 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.01506, allocations: 0.9894 MB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.01544, allocations: 271.4 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.016, allocations: 0.4989 MB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.01625, allocations: 235.1 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.01634, allocations: 72 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01652, allocations: 115.9 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.01663, allocations: 183.2 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.01683, allocations: 259.2 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.01751, allocations: 0.6845 MB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01751, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01751, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01752, allocations: 0 / 277.7 MB, free: 12.58 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.001216/0.01874, allocations: 1.189 MB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01878, allocations: 8.922 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.01896, allocations: 171.3 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.01969, allocations: 0.597 MB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.01973, allocations: 65.98 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.01982, allocations: 83.89 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.0208, allocations: 0.815 MB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.02083, allocations: 15.89 kB / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.02088, allocations: 35.94 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.0209, allocations: 20 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.02148, allocations: 331.3 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.02484, allocations: 5.572 MB / 286.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.02524, allocations: 228.1 kB / 286.9 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.02537, allocations: 92.33 kB / 286.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.95e-05/0.02547, allocations: 20.36 kB / 287 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.0255, allocations: 37.77 kB / 287 MB, free: 2.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.964e-06/0.0255, allocations: 0 / 287 MB, free: 2.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002253/0.02775, allocations: 1.37 MB / 288.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.02779, allocations: 59.91 kB / 288.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.02826, allocations: 0.5695 MB / 289 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.02828, allocations: 37.7 kB / 289 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.02878, allocations: 0.5181 MB / 289.6 MB, free: 196 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.09925/0.128, allocations: 216.4 kB / 289.8 MB, free: 30.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.1282, allocations: 146.7 kB / 289.9 MB, free: 30.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1283, allocations: 0.5537 MB / 290.5 MB, free: 29.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1285, allocations: 90.34 kB / 290.5 MB, free: 29.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1287, allocations: 0.4971 MB / 291 MB, free: 29.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.1292, allocations: 0.6629 MB / 291.7 MB, free: 28.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1292, allocations: 2.312 kB / 291.7 MB, free: 28.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007548/0.1299, allocations: 0.6445 MB / 292.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1299, allocations: 8.812 kB / 292.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1299, allocations: 13.39 kB / 292.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.1301, allocations: 47.95 kB / 292.4 MB, free: 28.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.1305, allocations: 181 kB / 292.6 MB, free: 28.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/0.1312, allocations: 2.085 MB / 294.7 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1314, allocations: 24.81 kB / 294.7 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1315, allocations: 37.84 kB / 294.7 MB, free: 26.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.0001375/0.1316, allocations: 212.6 kB / 295 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.1317, allocations: 100.1 kB / 295.1 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.1317, allocations: 80.02 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1317, allocations: 5.531 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1317, allocations: 1.672 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1317, allocations: 3.844 kB / 295.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1328, allocations: 1.146 MB / 296.3 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1328, allocations: 1.656 kB / 296.3 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.1331, allocations: 119.6 kB / 296.4 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.344e-05/0.1332, allocations: 25.62 kB / 296.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1332, allocations: 17.64 kB / 296.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/0.1336, allocations: 1.731 MB / 298.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1336, allocations: 10.17 kB / 298.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.1342, allocations: 0.7049 MB / 298.9 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.1342, allocations: 66.19 kB / 299 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.1343, allocations: 20.39 kB / 299 MB, free: 24.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1344, allocations: 14.33 kB / 299 MB, free: 24.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.1344, allocations: 47.12 kB / 299 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1345, allocations: 19.52 kB / 299.1 MB, free: 24.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.1347, allocations: 355.7 kB / 299.4 MB, free: 23.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1347, allocations: 0 / 299.4 MB, free: 23.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.1351, allocations: 141.8 kB / 299.5 MB, free: 23.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 0.0001009/0.1352, allocations: 122.7 kB / 299.7 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.1358, allocations: 0.54 MB / 300.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1358, allocations: 0 / 300.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.136, allocations: 335 kB / 300.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1364, allocations: 97.28 kB / 300.6 MB, free: 23.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1381, allocations: 1.644 MB / 302.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.1383, allocations: 164.9 kB / 302.4 MB, free: 22.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.1384, allocations: 83.97 kB / 302.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.1385, allocations: 63.53 kB / 302.6 MB, free: 22.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1385, allocations: 1.375 kB / 302.6 MB, free: 22.03 MB / 266.7 MB Notification: Performance of Templates: time 0.00885/0.1474, allocations: 5.538 MB / 308.1 MB, free: 20.54 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.7527065631002188]