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.002345/0.002345, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002801/0.002801, allocations: 169.7 kB / 25.03 MB, free: 8.414 MB / 18.57 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 1.422/1.422, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 1.533e-06/1.533e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.963e-05/4.116e-05, allocations: 10.25 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00691/0.006951, allocations: 4.348 MB / 254.7 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.009929, allocations: 1.338 MB / 256 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.01034, allocations: 35.69 kB / 256.1 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.01076, allocations: 178.2 kB / 256.2 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.01119, allocations: 182.1 kB / 256.4 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.01211, allocations: 363.4 kB / 256.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.01333, allocations: 1.005 MB / 257.8 MB, free: 380 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.01382, allocations: 263.4 kB / 258 MB, free: 96 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.01455, allocations: 0.4988 MB / 258.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.01494, allocations: 243.1 kB / 258.8 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01506, allocations: 72 kB / 258.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.01529, allocations: 115.9 kB / 259 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.01548, allocations: 179.2 kB / 259.1 MB, free: 15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.01578, allocations: 259.3 kB / 259.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01716, allocations: 1.098 MB / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01716, allocations: 0 / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01717, allocations: 0 / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.01718, allocations: 0 / 260.5 MB, free: 13.64 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.00199/0.01917, allocations: 1.255 MB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.01921, allocations: 8.031 kB / 261.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.01947, allocations: 179.2 kB / 261.9 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.02055, allocations: 0.6047 MB / 262.5 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.02062, allocations: 58 kB / 262.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.02074, allocations: 83.98 kB / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.02237, allocations: 0.9666 MB / 263.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.02241, allocations: 11.94 kB / 263.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.02248, allocations: 35.94 kB / 263.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.02251, allocations: 24 kB / 263.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009816/0.02349, allocations: 459.3 kB / 264.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.02946, allocations: 5.853 MB / 270 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.03015, allocations: 296.6 kB / 270.3 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.03041, allocations: 132.4 kB / 270.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.03053, allocations: 16.38 kB / 270.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.03057, allocations: 41.77 kB / 270.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.03058, allocations: 4 kB / 270.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.003703/0.03428, allocations: 1.641 MB / 272.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.03433, allocations: 55.91 kB / 272.2 MB, free: 1.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.03527, allocations: 0.7258 MB / 272.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.03531, allocations: 33.7 kB / 272.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.03582, allocations: 0.5571 MB / 273.5 MB, free: 64 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.03607, allocations: 242.3 kB / 273.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.03631, allocations: 164.3 kB / 273.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004116/0.03672, allocations: 0.6013 MB / 274.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.03703, allocations: 157.9 kB / 274.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.03779, allocations: 0.5907 MB / 275.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.03896, allocations: 0.8144 MB / 276.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.03896, allocations: 0 / 276.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001407/0.04037, allocations: 0.7813 MB / 276.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.04039, allocations: 11.98 kB / 276.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.04041, allocations: 15.94 kB / 276.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.04065, allocations: 56.45 kB / 276.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.04126, allocations: 183.7 kB / 277.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.04332, allocations: 2.172 MB / 279.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.04363, allocations: 24.05 kB / 279.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.04369, allocations: 43.98 kB / 279.3 MB, free: 9.707 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.0003766/0.04407, allocations: 276.3 kB / 279.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.0442, allocations: 95.56 kB / 279.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.04436, allocations: 71.08 kB / 279.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.04437, allocations: 8 kB / 279.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.04437, allocations: 3.938 kB / 279.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.04438, allocations: 7.922 kB / 279.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.04685, allocations: 1.442 MB / 281.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.04686, allocations: 4 kB / 281.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.04738, allocations: 115.8 kB / 281.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.04748, allocations: 27.67 kB / 281.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/0.04753, allocations: 19.94 kB / 281.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.04902, allocations: 1.767 MB / 283.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.04902, allocations: 0 / 283.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.0504, allocations: 0.8845 MB / 284 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.05054, allocations: 63.53 kB / 284.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.0506, allocations: 16 kB / 284.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.05081, allocations: 16 kB / 284.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.05091, allocations: 47.92 kB / 284.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.05094, allocations: 16 kB / 284.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006048/0.05155, allocations: 443 kB / 284.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05155, allocations: 3.938 kB / 284.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007071/0.05226, allocations: 140 kB / 284.8 MB, free: 3.965 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.0001805/0.05244, allocations: 111 kB / 284.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.05371, allocations: 0.6882 MB / 285.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.05371, allocations: 0.5625 kB / 285.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.05434, allocations: 382.3 kB / 285.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.055, allocations: 107.1 kB / 286.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.05801, allocations: 1.721 MB / 287.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.05847, allocations: 370.3 kB / 288.1 MB, free: 460 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.05874, allocations: 85.92 kB / 288.2 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.05888, allocations: 60.48 kB / 288.3 MB, free: 308 kB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05889, allocations: 0 / 288.3 MB, free: 308 kB / 266.7 MB Notification: Performance of Templates: time 0.01366/0.07254, allocations: 5.264 MB / 293.5 MB, free: 11.09 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.518396534025669]