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.001356/0.001356, allocations: 85.95 kB / 23 MB, free: 1.504 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.001549/0.001549, allocations: 175.7 kB / 26.39 MB, free: 7.988 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 0.9958/0.9958, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.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 1.613e-06/1.613e-06, allocations: 3.938 kB / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.772e-05, allocations: 6.25 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004282/0.00431, allocations: 4.293 MB / 256.5 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.006679, allocations: 1.346 MB / 257.9 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.007218, allocations: 31.69 kB / 257.9 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.007617, allocations: 178.2 kB / 258.1 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005753/0.008192, allocations: 194 kB / 258.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.00906, allocations: 371.4 kB / 258.6 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.01006, allocations: 1.001 MB / 259.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.01049, allocations: 267.4 kB / 259.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.01112, allocations: 0.5027 MB / 260.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.01141, allocations: 235.1 kB / 260.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.01149, allocations: 76 kB / 260.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.01167, allocations: 112 kB / 260.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01178, allocations: 175.2 kB / 261 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.01199, allocations: 271.2 kB / 261.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.01269, allocations: 0.6768 MB / 261.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.0127, allocations: 0 / 261.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0127, allocations: 3.938 kB / 261.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.01271, allocations: 0 / 261.9 MB, free: 13.51 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.001165/0.01388, allocations: 1.2 MB / 263.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.01392, allocations: 8.031 kB / 263.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01408, allocations: 171.3 kB / 263.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.01484, allocations: 0.6008 MB / 263.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.01489, allocations: 62 kB / 264 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.01499, allocations: 83.94 kB / 264.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.01582, allocations: 0.7758 MB / 264.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.01586, allocations: 7.984 kB / 264.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.0159, allocations: 39.94 kB / 264.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.01592, allocations: 20 kB / 264.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.01629, allocations: 281.3 kB / 265.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.01921, allocations: 5.487 MB / 270.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.0195, allocations: 192.7 kB / 270.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.01959, allocations: 76.33 kB / 270.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.01967, allocations: 24.36 kB / 270.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01969, allocations: 37.77 kB / 271 MB, free: 4.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.335e-06/0.01969, allocations: 0 / 271 MB, free: 4.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.001745/0.02143, allocations: 1.171 MB / 272.1 MB, free: 2.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.02146, allocations: 63.84 kB / 272.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.02181, allocations: 0.5576 MB / 272.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.0219, allocations: 37.7 kB / 272.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.02215, allocations: 0.5335 MB / 273.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.02227, allocations: 222.1 kB / 273.6 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.02239, allocations: 144.2 kB / 273.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.02255, allocations: 0.5585 MB / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.02264, allocations: 69.94 kB / 274.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.02304, allocations: 492.8 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.02347, allocations: 0.6268 MB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.02348, allocations: 4 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006007/0.02408, allocations: 0.6019 MB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.0241, allocations: 15.94 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.02411, allocations: 8 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.02425, allocations: 44.3 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.0246, allocations: 183.6 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.02597, allocations: 2.059 MB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.02618, allocations: 24.19 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.02621, allocations: 32 kB / 278.4 MB, free: 11.98 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.0001712/0.02638, allocations: 212.3 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.02646, allocations: 91.53 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.02653, allocations: 79.11 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02653, allocations: 8 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.02654, allocations: 0 / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.02655, allocations: 3.984 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.0276, allocations: 1.037 MB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.0276, allocations: 4 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.02787, allocations: 111.8 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.02794, allocations: 23.67 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.02797, allocations: 16 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007504/0.02872, allocations: 1.721 MB / 281.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02872, allocations: 0 / 281.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.02927, allocations: 0.6737 MB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.02932, allocations: 67.47 kB / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.02936, allocations: 15.98 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.02947, allocations: 8 kB / 282.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.02953, allocations: 47.88 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.02954, allocations: 15.98 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.02973, allocations: 338.9 kB / 282.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02973, allocations: 0 / 282.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004573/0.03019, allocations: 140 kB / 283 MB, free: 7.102 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.0001186/0.0303, allocations: 118.8 kB / 283.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.03082, allocations: 0.5247 MB / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.03083, allocations: 3.938 kB / 283.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.03105, allocations: 315 kB / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.03149, allocations: 91 kB / 284 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.03373, allocations: 1.635 MB / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.03385, allocations: 163.1 kB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.03402, allocations: 89.91 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.03421, allocations: 198.1 kB / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03421, allocations: 0 / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of Templates: time 0.0103/0.0445, allocations: 5.887 MB / 292 MB, free: 13.97 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0288198199123144]