Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 182.2 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007658/0.0007658, allocations: 89.03 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09295/0.3211, allocations: 82.04 MB / 457.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3214, allocations: 75.95 kB / 457.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03434/0.3557, allocations: 14.45 MB / 472.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3558, allocations: 0 / 472.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.203e-05/0.3559, allocations: 27.98 kB / 472.3 MB, free: 15.76 MB / 362.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.001491/0.3574, allocations: 0.9704 MB / 473.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3574, allocations: 11.97 kB / 473.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.3576, allocations: 103.7 kB / 473.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.3583, allocations: 0.548 MB / 473.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.3584, allocations: 58.38 kB / 474 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3585, allocations: 88.27 kB / 474.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3597, allocations: 0.8335 MB / 474.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.3598, allocations: 16.02 kB / 474.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.3599, allocations: 43.94 kB / 475 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.3599, allocations: 20 kB / 475 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.3607, allocations: 467.3 kB / 475.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.3643, allocations: 4.401 MB / 479.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.3649, allocations: 315.4 kB / 480.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3651, allocations: 145.5 kB / 480.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.3654, allocations: 170.6 kB / 480.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3654, allocations: 38.94 kB / 480.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.234e-06/0.3654, allocations: 3.938 kB / 480.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003173/0.3686, allocations: 1.739 MB / 482.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3686, allocations: 59.91 kB / 482.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.3692, allocations: 0.5275 MB / 482.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.3693, allocations: 33.7 kB / 482.9 MB, free: 4.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.3696, allocations: 482.4 kB / 483.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.3697, allocations: 209 kB / 483.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.3698, allocations: 16 kB / 483.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3699, allocations: 386.7 kB / 483.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.3702, allocations: 161.9 kB / 484.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.3707, allocations: 455.2 kB / 484.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.3716, allocations: 0.6673 MB / 485.2 MB, free: 1.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3716, allocations: 4 kB / 485.2 MB, free: 1.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001128/0.3727, allocations: 0.7306 MB / 485.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3727, allocations: 15.94 kB / 486 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3728, allocations: 12.12 kB / 486 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.373, allocations: 40.84 kB / 486 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.3735, allocations: 187.7 kB / 486.2 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3748, allocations: 1.514 MB / 487.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.3751, allocations: 31.92 kB / 487.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3752, allocations: 40 kB / 487.8 MB, free: 15.29 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003405/0.3755, allocations: 225.5 kB / 488 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.3756, allocations: 75.16 kB / 488.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.3758, allocations: 79.08 kB / 488.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3758, allocations: 4 kB / 488.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3758, allocations: 4 kB / 488.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3758, allocations: 7.922 kB / 488.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.3777, allocations: 1.416 MB / 489.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3777, allocations: 4 kB / 489.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.3782, allocations: 115.9 kB / 489.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.2e-05/0.3783, allocations: 28.73 kB / 489.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.3783, allocations: 20.06 kB / 489.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008584/0.3792, allocations: 1.272 MB / 491 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3792, allocations: 4 kB / 491 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3803, allocations: 0.7801 MB / 491.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3804, allocations: 140.2 kB / 491.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3805, allocations: 12 kB / 492 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3807, allocations: 20 kB / 492 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.3808, allocations: 39.92 kB / 492 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3808, allocations: 20 kB / 492 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003978/0.3812, allocations: 359.1 kB / 492.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3812, allocations: 0 / 492.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.3818, allocations: 140 kB / 492.5 MB, free: 10.21 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.382, allocations: 123.1 kB / 492.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.383, allocations: 0.5762 MB / 493.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.383, allocations: 0 / 493.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.3834, allocations: 316 kB / 493.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.3841, allocations: 86.97 kB / 493.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.387, allocations: 2.332 MB / 495.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3876, allocations: 0.9729 MB / 496.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3878, allocations: 63.42 kB / 497 MB, free: 5.633 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3878, allocations: 0 / 497 MB, free: 5.633 MB / 378.7 MB Notification: Performance of Templates: time 0.1685/0.5562, allocations: 12.14 MB / 0.4972 GB, free: 103.4 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches