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.001253/0.001253, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001029/0.001029, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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.038/1.038, allocations: 177 MB / 205.9 MB, free: 4.469 MB / 186.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.453e-06/1.453e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.579e-05, allocations: 8.828 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006804/0.00683, allocations: 4.323 MB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.01022, allocations: 1.368 MB / 279.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.01097, allocations: 31.69 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.01134, allocations: 191.1 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.01166, allocations: 182 kB / 280.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.01238, allocations: 383.3 kB / 280.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007911/0.01317, allocations: 1.009 MB / 281.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.01351, allocations: 263.4 kB / 281.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.01397, allocations: 0.5105 MB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.01427, allocations: 235.1 kB / 282.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.01434, allocations: 72 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.01448, allocations: 115.9 kB / 282.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.01458, allocations: 183.1 kB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.01474, allocations: 267.2 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.01531, allocations: 0.6806 MB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.01532, allocations: 0 / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01532, allocations: 0 / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01533, allocations: 4 kB / 283.9 MB, free: 10.48 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.001122/0.01645, allocations: 1.192 MB / 285.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01648, allocations: 8.031 kB / 285.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.01669, allocations: 191.3 kB / 285.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.01724, allocations: 0.6008 MB / 285.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.01727, allocations: 58 kB / 285.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.01734, allocations: 83.98 kB / 286 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.01796, allocations: 0.7758 MB / 286.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01798, allocations: 11.94 kB / 286.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.01802, allocations: 39.94 kB / 286.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01803, allocations: 20 kB / 286.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.01833, allocations: 285.2 kB / 287.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.02084, allocations: 5.491 MB / 292.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.02108, allocations: 192.7 kB / 292.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.02117, allocations: 80.33 kB / 292.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.02123, allocations: 20.36 kB / 292.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.02125, allocations: 41.75 kB / 292.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.352e-06/0.02126, allocations: 7.938 kB / 293 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001463/0.02272, allocations: 1.168 MB / 294.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.02275, allocations: 63.84 kB / 294.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.02307, allocations: 0.5654 MB / 294.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.02309, allocations: 29.7 kB / 294.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.0236, allocations: 0.5374 MB / 295.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.0237, allocations: 222.1 kB / 295.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.02382, allocations: 148.2 kB / 295.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.02396, allocations: 0.5585 MB / 296.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.02404, allocations: 65.94 kB / 296.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.0243, allocations: 492.8 kB / 296.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.02469, allocations: 0.6268 MB / 297.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.0247, allocations: 0 / 297.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0005484/0.02525, allocations: 0.6062 MB / 298 MB, free: 11.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.02526, allocations: 8.188 kB / 298 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.02527, allocations: 12 kB / 298 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.02539, allocations: 43.67 kB / 298.1 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.0257, allocations: 187.6 kB / 298.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009038/0.0266, allocations: 2.052 MB / 300.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.02674, allocations: 28 kB / 300.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.02677, allocations: 32.03 kB / 300.4 MB, free: 8.906 MB / 282.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.0001453/0.02691, allocations: 208.3 kB / 300.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.02698, allocations: 91.53 kB / 300.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.02705, allocations: 79.08 kB / 300.7 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02705, allocations: 4 kB / 300.7 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02706, allocations: 0 / 300.7 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.02706, allocations: 3.984 kB / 300.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.02824, allocations: 1.035 MB / 301.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02824, allocations: 0 / 301.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.0285, allocations: 115.8 kB / 301.9 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.02856, allocations: 27.72 kB / 301.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.02858, allocations: 20.33 kB / 301.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006064/0.02919, allocations: 1.713 MB / 303.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.02919, allocations: 4 kB / 303.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.02964, allocations: 0.6736 MB / 304.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.02969, allocations: 67.59 kB / 304.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.02973, allocations: 16 kB / 304.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02983, allocations: 15.98 kB / 304.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.02988, allocations: 39.88 kB / 304.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.02989, allocations: 16 kB / 304.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.03006, allocations: 342.9 kB / 304.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03006, allocations: 0 / 304.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.03041, allocations: 136 kB / 305 MB, free: 4.035 MB / 282.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.0001096/0.03052, allocations: 119.1 kB / 305.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.03096, allocations: 0.5178 MB / 305.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03097, allocations: 4 kB / 305.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.03115, allocations: 310.3 kB / 305.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.03153, allocations: 95.81 kB / 306 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.03316, allocations: 1.655 MB / 307.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.03326, allocations: 163.1 kB / 307.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.03343, allocations: 90 kB / 307.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.03361, allocations: 198.1 kB / 308.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03361, allocations: 0 / 308.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of Templates: time 0.008972/0.04258, allocations: 5.9 MB / 314 MB, free: 10.99 MB / 298.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 -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.8392726578749716]