Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 143 kB / 25.59 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9211/0.9211, allocations: 173.4 MB / 202.3 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 269.2 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.382e-05, allocations: 2.312 kB / 269.2 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003588/0.003601, allocations: 4.306 MB / 273.5 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.00515, allocations: 1.305 MB / 274.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.005421, allocations: 33.16 kB / 274.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.005687, allocations: 186.2 kB / 275 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.005932, allocations: 176.6 kB / 275.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.00647, allocations: 384.6 kB / 275.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.007167, allocations: 0.998 MB / 276.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.007481, allocations: 263.4 kB / 276.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.007952, allocations: 0.4994 MB / 277.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.008169, allocations: 235.6 kB / 277.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.008232, allocations: 76 kB / 277.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.008365, allocations: 119.8 kB / 277.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.008454, allocations: 179.2 kB / 277.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.00861, allocations: 259.2 kB / 278.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.00912, allocations: 0.6884 MB / 278.8 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.009122, allocations: 0 / 278.8 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009122, allocations: 0 / 278.8 MB, free: 120 kB / 250.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.009131, allocations: 0 / 278.8 MB, free: 120 kB / 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.0009329/0.01006, allocations: 1.192 MB / 280 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.452e-05/0.01009, allocations: 8.031 kB / 280 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.01022, allocations: 171.3 kB / 280.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01075, allocations: 0.6086 MB / 280.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.01078, allocations: 58 kB / 280.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.01085, allocations: 83.95 kB / 281 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.01149, allocations: 0.7758 MB / 281.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.01152, allocations: 11.89 kB / 281.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.01155, allocations: 39.94 kB / 281.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01157, allocations: 20 kB / 281.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.01187, allocations: 281.3 kB / 282.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.01424, allocations: 5.471 MB / 287.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.01449, allocations: 212.3 kB / 287.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.01457, allocations: 76.33 kB / 287.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.01463, allocations: 20.36 kB / 287.8 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.01465, allocations: 37.77 kB / 287.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.613e-06/0.01465, allocations: 4 kB / 287.9 MB, free: 6.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001455/0.01611, allocations: 1.176 MB / 289.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01613, allocations: 59.91 kB / 289.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.01645, allocations: 0.5653 MB / 289.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01647, allocations: 37.7 kB / 289.7 MB, free: 4.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.0167, allocations: 0.5219 MB / 290.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.0168, allocations: 226.1 kB / 290.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01691, allocations: 152.2 kB / 290.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01706, allocations: 0.5624 MB / 291.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.01714, allocations: 65.94 kB / 291.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.01738, allocations: 492.8 kB / 291.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.01779, allocations: 0.6384 MB / 292.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.01779, allocations: 0 / 292.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0005554/0.01834, allocations: 0.5981 MB / 293 MB, free: 1.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01836, allocations: 8 kB / 293 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01837, allocations: 8 kB / 293 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.01848, allocations: 47.66 kB / 293 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.01879, allocations: 184.2 kB / 293.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009089/0.0197, allocations: 2.048 MB / 295.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01986, allocations: 28.19 kB / 295.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.01989, allocations: 32 kB / 295.3 MB, free: 14.56 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.000156/0.02004, allocations: 220.1 kB / 295.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.02014, allocations: 91.53 kB / 295.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.02024, allocations: 75.08 kB / 295.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.02024, allocations: 12.03 kB / 295.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.02025, allocations: 0 / 295.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02026, allocations: 3.984 kB / 295.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.02119, allocations: 1.035 MB / 296.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.02119, allocations: 8.031 kB / 296.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.02145, allocations: 111.9 kB / 296.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.96e-05/0.02151, allocations: 23.67 kB / 296.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.02153, allocations: 12 kB / 296.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006821/0.02221, allocations: 1.71 MB / 298.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02221, allocations: 11.97 kB / 298.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.0227, allocations: 0.662 MB / 299.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.02275, allocations: 71.41 kB / 299.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.02278, allocations: 12 kB / 299.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.02289, allocations: 23.92 kB / 299.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.02294, allocations: 43.81 kB / 299.4 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02295, allocations: 12 kB / 299.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.02313, allocations: 346.9 kB / 299.8 MB, free: 9.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02313, allocations: 0 / 299.8 MB, free: 9.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.02352, allocations: 136 kB / 299.9 MB, free: 9.688 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.0001089/0.02363, allocations: 119.1 kB / 300 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.02412, allocations: 0.5011 MB / 300.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.02413, allocations: 5.688 kB / 300.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.02432, allocations: 326.5 kB / 300.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.02468, allocations: 95.19 kB / 300.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.02647, allocations: 1.642 MB / 302.6 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.02658, allocations: 163.1 kB / 302.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.02675, allocations: 93.91 kB / 302.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.02695, allocations: 198.1 kB / 303 MB, free: 6.414 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02695, allocations: 0 / 303 MB, free: 6.414 MB / 282.7 MB Notification: Performance of Templates: time 0.008788/0.03574, allocations: 5.89 MB / 308.9 MB, free: 0.6445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8429591078311205]