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.0008924/0.0008924, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001469/0.001469, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.152e-06/1.152e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.619e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003878/0.003894, allocations: 4.389 MB / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.005433, allocations: 1.387 MB / 278.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.005655, allocations: 31.69 kB / 278.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.005902, allocations: 186.1 kB / 279 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.00612, allocations: 170.3 kB / 279.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.006598, allocations: 379.3 kB / 279.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.007214, allocations: 1.005 MB / 280.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.007514, allocations: 267.4 kB / 280.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.007918, allocations: 0.4988 MB / 281.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.008113, allocations: 239.1 kB / 281.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.008178, allocations: 72 kB / 281.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.008342, allocations: 115.9 kB / 281.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.008438, allocations: 179.2 kB / 281.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.008603, allocations: 263.2 kB / 282.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.009136, allocations: 0.6884 MB / 282.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.009139, allocations: 0 / 282.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.00914, allocations: 4 kB / 282.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.009146, allocations: 0 / 282.9 MB, free: 7.969 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.0009605/0.01011, allocations: 1.189 MB / 284.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.01014, allocations: 12.03 kB / 284.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.01035, allocations: 179.3 kB / 284.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.01104, allocations: 0.6047 MB / 284.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.01107, allocations: 62 kB / 284.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.01114, allocations: 79.95 kB / 285 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.01196, allocations: 0.8159 MB / 285.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01198, allocations: 11.94 kB / 285.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.01202, allocations: 39.94 kB / 285.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.01204, allocations: 20 kB / 285.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.0125, allocations: 335.3 kB / 286.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/0.1202, allocations: 5.568 MB / 291.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.1207, allocations: 222.4 kB / 292 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1208, allocations: 87.95 kB / 292.1 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.1209, allocations: 20.36 kB / 292.1 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1209, allocations: 40.81 kB / 292.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.935e-06/0.1209, allocations: 0.875 kB / 292.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002394/0.1233, allocations: 1.367 MB / 293.5 MB, free: 23.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1233, allocations: 58.19 kB / 293.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1238, allocations: 0.5687 MB / 294.1 MB, free: 23.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1238, allocations: 35.55 kB / 294.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.124, allocations: 0.528 MB / 294.7 MB, free: 22.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1242, allocations: 221.6 kB / 294.9 MB, free: 22.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1243, allocations: 141.6 kB / 295.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1244, allocations: 0.5525 MB / 295.6 MB, free: 22.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1245, allocations: 91.98 kB / 295.7 MB, free: 22.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.1248, allocations: 0.5009 MB / 296.2 MB, free: 21.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.1253, allocations: 0.6615 MB / 296.9 MB, free: 21.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1253, allocations: 2.875 kB / 296.9 MB, free: 21.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007405/0.126, allocations: 0.6494 MB / 297.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.126, allocations: 9.875 kB / 297.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1261, allocations: 9.547 kB / 297.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.1262, allocations: 45.73 kB / 297.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.1266, allocations: 189.5 kB / 297.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/0.1274, allocations: 2.081 MB / 299.8 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.1276, allocations: 26.17 kB / 299.9 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.1276, allocations: 41.31 kB / 299.9 MB, free: 18.71 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.0001523/0.1278, allocations: 211.2 kB / 300.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.1279, allocations: 95.64 kB / 300.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.1279, allocations: 74.05 kB / 300.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1279, allocations: 5.859 kB / 300.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1279, allocations: 1.312 kB / 300.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1279, allocations: 6.078 kB / 300.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.1291, allocations: 1.152 MB / 301.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1291, allocations: 3.062 kB / 301.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1294, allocations: 116.5 kB / 301.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.714e-05/0.1295, allocations: 22.36 kB / 301.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.1295, allocations: 15.64 kB / 301.6 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004324/0.13, allocations: 1.74 MB / 303.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.13, allocations: 3.312 kB / 303.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.1306, allocations: 0.7118 MB / 304 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.1306, allocations: 61.72 kB / 304.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1307, allocations: 15.92 kB / 304.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1308, allocations: 13.22 kB / 304.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.1308, allocations: 41.55 kB / 304.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1308, allocations: 19.53 kB / 304.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000261/0.1311, allocations: 360.1 kB / 304.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1311, allocations: 1.781 kB / 304.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.1316, allocations: 141.6 kB / 304.7 MB, free: 15.14 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.0001158/0.1317, allocations: 121.6 kB / 304.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.1324, allocations: 0.5425 MB / 305.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1324, allocations: 0 / 305.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.1326, allocations: 335.7 kB / 305.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.133, allocations: 99.39 kB / 305.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1349, allocations: 1.653 MB / 307.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.1351, allocations: 159.9 kB / 307.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.1353, allocations: 87.95 kB / 307.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.1354, allocations: 63.78 kB / 307.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1354, allocations: 1.312 kB / 307.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Templates: time 0.008505/0.1439, allocations: 5.296 MB / 313 MB, free: 10.55 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 -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.9385517879854888]