Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002657, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002309, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08116/1.096, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.069e-05, allocations: 6.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004857/0.004868, allocations: 4.387 MB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.007612, allocations: 1.434 MB / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.007958, allocations: 39.62 kB / 250.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.008259, allocations: 182.1 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.008605, allocations: 186 kB / 251.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.009234, allocations: 379.3 kB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009294/0.01016, allocations: 0.9856 MB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.01055, allocations: 295.3 kB / 252.9 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.01113, allocations: 0.5222 MB / 253.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.0114, allocations: 239.1 kB / 253.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.01149, allocations: 72 kB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.01169, allocations: 127.8 kB / 253.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.01179, allocations: 135.4 kB / 254 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.01198, allocations: 219.4 kB / 254.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.01247, allocations: 0.6456 MB / 254.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.01248, allocations: 0 / 254.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01248, allocations: 0 / 254.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.0125, allocations: 0 / 254.8 MB, free: 3.781 MB / 250.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.0009711/0.01347, allocations: 1.255 MB / 256.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.49e-05/0.01349, allocations: 12.62 kB / 256.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.01367, allocations: 213 kB / 256.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.01418, allocations: 0.4967 MB / 256.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.01421, allocations: 61.94 kB / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.01428, allocations: 91.92 kB / 256.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.01487, allocations: 0.7016 MB / 257.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.01489, allocations: 11.89 kB / 257.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.01493, allocations: 35.94 kB / 257.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.01494, allocations: 20 kB / 257.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.01523, allocations: 269.3 kB / 258 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.01712, allocations: 3.753 MB / 261.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.01734, allocations: 192.1 kB / 261.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.01741, allocations: 61.59 kB / 262 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.01748, allocations: 17.11 kB / 262 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.0175, allocations: 38.56 kB / 262 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.613e-06/0.0175, allocations: 4 kB / 262 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001451/0.01895, allocations: 1.154 MB / 263.2 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.01897, allocations: 55.91 kB / 263.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.01925, allocations: 0.5154 MB / 263.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01927, allocations: 41.7 kB / 263.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.01943, allocations: 420.9 kB / 264.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.01952, allocations: 218.1 kB / 264.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.01962, allocations: 146.5 kB / 264.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.01972, allocations: 390.6 kB / 264.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.01978, allocations: 61.97 kB / 265 MB, free: 9.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.01997, allocations: 371.2 kB / 265.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.0203, allocations: 0.5079 MB / 265.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.0203, allocations: 3.938 kB / 265.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0003946/0.0207, allocations: 482.7 kB / 266.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.02071, allocations: 15.94 kB / 266.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02072, allocations: 8.844 kB / 266.4 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.095e-05/0.02081, allocations: 44.83 kB / 266.4 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.02115, allocations: 218.9 kB / 266.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006377/0.02179, allocations: 1.406 MB / 268 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.02193, allocations: 24 kB / 268.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.02196, allocations: 39.92 kB / 268.1 MB, free: 5.668 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.0001195/0.02208, allocations: 165.6 kB / 268.3 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.02213, allocations: 55.94 kB / 268.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.02219, allocations: 79.08 kB / 268.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0222, allocations: 4 kB / 268.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.0222, allocations: 4 kB / 268.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02221, allocations: 3.984 kB / 268.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007494/0.02295, allocations: 0.8131 MB / 269.2 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02296, allocations: 7.938 kB / 269.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.02323, allocations: 135.8 kB / 269.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.02328, allocations: 67.5 kB / 269.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.213e-05/0.02332, allocations: 20.8 kB / 269.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.02334, allocations: 16.33 kB / 269.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004336/0.02378, allocations: 1.155 MB / 270.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02378, allocations: 7.938 kB / 270.6 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.02414, allocations: 0.5126 MB / 271.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.02417, allocations: 20.12 kB / 271.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.02427, allocations: 12 kB / 271.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.02431, allocations: 55.78 kB / 271.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.02432, allocations: 12 kB / 271.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.02445, allocations: 228.6 kB / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02445, allocations: 0 / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.0248, allocations: 144 kB / 271.6 MB, free: 1.941 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.633e-05/0.02487, allocations: 99.11 kB / 271.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.02523, allocations: 460.2 kB / 272.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/0.02525, allocations: 16.56 kB / 272.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.0254, allocations: 252.2 kB / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.02571, allocations: 143 kB / 272.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.02775, allocations: 1.436 MB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.02785, allocations: 167.1 kB / 274.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.02801, allocations: 90 kB / 274.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.02817, allocations: 167.3 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of SimCode: time 3e-07/0.02818, allocations: 3.938 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Templates: time 0.008987/0.03716, allocations: 6.042 MB / 280.4 MB, free: 9.098 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6071767639368773]