Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007717/0.0007717, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.001963, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007923/0.0007923, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001827, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9854/0.9854, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1588/1.144, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.524e-05, allocations: 10.31 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004006/0.004031, allocations: 4.348 MB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006314, allocations: 1.415 MB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.006616, allocations: 31.75 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.006872, allocations: 186.1 kB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.007149, allocations: 190 kB / 228 MB, free: 9.957 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.00773, allocations: 367.3 kB / 228.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.008448, allocations: 0.974 MB / 229.3 MB, free: 8.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.00876, allocations: 279.4 kB / 229.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.009221, allocations: 0.5261 MB / 230.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.009451, allocations: 247.1 kB / 230.4 MB, free: 7.551 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.009515, allocations: 72 kB / 230.4 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.009696, allocations: 111.9 kB / 230.6 MB, free: 7.371 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.009777, allocations: 131.4 kB / 230.7 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.009931, allocations: 223.4 kB / 230.9 MB, free: 7.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.01054, allocations: 0.6456 MB / 231.5 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.681e-05/0.01056, allocations: 0 / 231.5 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01056, allocations: 0 / 231.5 MB, free: 6.375 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.01058, allocations: 0 / 231.5 MB, free: 6.375 MB / 234.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.001067/0.01165, allocations: 1.251 MB / 232.8 MB, free: 5.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01169, allocations: 8.031 kB / 232.8 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.0118, allocations: 131.9 kB / 232.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.01235, allocations: 0.4927 MB / 233.4 MB, free: 4.441 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.01238, allocations: 62 kB / 233.5 MB, free: 4.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.01245, allocations: 79.95 kB / 233.6 MB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.01313, allocations: 0.7794 MB / 234.3 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.01315, allocations: 11.94 kB / 234.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.01318, allocations: 39.88 kB / 234.4 MB, free: 3.344 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.0132, allocations: 20 kB / 234.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.0135, allocations: 277.4 kB / 234.7 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.01567, allocations: 3.741 MB / 238.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.01593, allocations: 188.1 kB / 238.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.01599, allocations: 65.59 kB / 238.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.631e-05/0.01609, allocations: 21.11 kB / 238.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.01611, allocations: 42.5 kB / 238.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/0.01612, allocations: 0 / 238.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.001733/0.01785, allocations: 1.162 MB / 239.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.01789, allocations: 59.84 kB / 240 MB, free: 13.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.01821, allocations: 0.5192 MB / 240.5 MB, free: 13 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01823, allocations: 33.7 kB / 240.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.01841, allocations: 416.9 kB / 240.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.01851, allocations: 222.1 kB / 241.1 MB, free: 12.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01862, allocations: 142.5 kB / 241.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01875, allocations: 390.6 kB / 241.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.01881, allocations: 61.97 kB / 241.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.01902, allocations: 367.2 kB / 242.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.01936, allocations: 0.5118 MB / 242.6 MB, free: 10.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.01936, allocations: 7.938 kB / 242.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00042/0.01978, allocations: 483.3 kB / 243.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.0198, allocations: 12.22 kB / 243.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.01981, allocations: 8 kB / 243.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.01993, allocations: 36.84 kB / 243.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.02031, allocations: 229.6 kB / 243.3 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00076/0.02107, allocations: 1.398 MB / 244.7 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.02123, allocations: 28.03 kB / 244.8 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.02126, allocations: 35.94 kB / 244.8 MB, free: 8.289 MB / 250.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.0001481/0.02141, allocations: 165.5 kB / 245 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.02147, allocations: 55.95 kB / 245 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.02154, allocations: 83.09 kB / 245.1 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.02155, allocations: 8 kB / 245.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.02156, allocations: 0 / 245.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.02156, allocations: 3.938 kB / 245.1 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008704/0.02243, allocations: 0.8286 MB / 245.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.02244, allocations: 128 / 245.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.02273, allocations: 139.8 kB / 246.1 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.02278, allocations: 63.52 kB / 246.1 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.508e-05/0.02285, allocations: 29.12 kB / 246.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.02286, allocations: 16 kB / 246.2 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006116/0.02348, allocations: 1.154 MB / 247.3 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02348, allocations: 4 kB / 247.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.02395, allocations: 0.5204 MB / 247.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.02398, allocations: 12 kB / 247.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02408, allocations: 16 kB / 247.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.02415, allocations: 39.86 kB / 247.9 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.02416, allocations: 16 kB / 247.9 MB, free: 4.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.02433, allocations: 224.6 kB / 248.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02433, allocations: 0 / 248.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.02477, allocations: 140 kB / 248.3 MB, free: 4.57 MB / 250.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.0001614/0.02493, allocations: 100.3 kB / 248.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.02538, allocations: 455.2 kB / 248.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.406e-05/0.0254, allocations: 16.5 kB / 248.9 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.02556, allocations: 244.2 kB / 249.1 MB, free: 3.738 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.02595, allocations: 152.9 kB / 249.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.02846, allocations: 1.438 MB / 250.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.02857, allocations: 163.1 kB / 250.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.02876, allocations: 86.02 kB / 250.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.02897, allocations: 171.3 kB / 251.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of SimCode: time 1.382e-06/0.02898, allocations: 0 / 251.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of Templates: time 0.00943/0.03841, allocations: 6.047 MB / 257.1 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.828111548908055]