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/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_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_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.001081/0.001081, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.383/1.383, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007433/0.0007432, allocations: 78.38 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002916, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08538/0.2958, allocations: 82.03 MB / 459.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.2961, allocations: 79.95 kB / 459.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03654/0.3326, allocations: 14.46 MB / 473.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3327, allocations: 4 kB / 473.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.47e-05/0.3328, allocations: 24 kB / 473.6 MB, free: 15.69 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.001771/0.3345, allocations: 0.9665 MB / 474.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3346, allocations: 8.031 kB / 474.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.3348, allocations: 107.7 kB / 474.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.3358, allocations: 0.5325 MB / 475.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.3358, allocations: 62.31 kB / 475.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.336, allocations: 88.27 kB / 475.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3373, allocations: 0.8452 MB / 476.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.832e-05/0.3374, allocations: 16.02 kB / 476.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.3375, allocations: 39.94 kB / 476.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3375, allocations: 24 kB / 476.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.3384, allocations: 467.3 kB / 476.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.3423, allocations: 4.409 MB / 481.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.3429, allocations: 313.5 kB / 481.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3431, allocations: 141.6 kB / 481.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3434, allocations: 170.6 kB / 481.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3434, allocations: 38.94 kB / 481.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.3434, allocations: 7.938 kB / 481.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.00332/0.3468, allocations: 1.731 MB / 483.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3468, allocations: 63.91 kB / 483.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.3475, allocations: 0.5236 MB / 484.1 MB, free: 4.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3475, allocations: 33.7 kB / 484.2 MB, free: 4.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.3478, allocations: 486.3 kB / 484.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.348, allocations: 209 kB / 484.9 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.3481, allocations: 20 kB / 484.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3483, allocations: 382.7 kB / 485.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.3486, allocations: 157.9 kB / 485.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.349, allocations: 455.2 kB / 485.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.3499, allocations: 0.6751 MB / 486.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.3499, allocations: 0 / 486.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001157/0.3511, allocations: 0.7345 MB / 487.3 MB, free: 1.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.3511, allocations: 11.94 kB / 487.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3511, allocations: 12 kB / 487.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.3513, allocations: 44.84 kB / 487.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3518, allocations: 183.7 kB / 487.5 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3531, allocations: 1.514 MB / 489 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.3534, allocations: 35.94 kB / 489.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.3535, allocations: 32 kB / 489.1 MB, free: 15.22 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.0003515/0.3539, allocations: 237.6 kB / 489.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.354, allocations: 67.16 kB / 489.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3541, allocations: 75.08 kB / 489.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3541, allocations: 4 kB / 489.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3542, allocations: 0 / 489.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3542, allocations: 7.969 kB / 489.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.3562, allocations: 1.42 MB / 490.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3562, allocations: 0 / 490.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.3567, allocations: 119.9 kB / 491 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-05/0.3568, allocations: 33.08 kB / 491 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.3568, allocations: 20.05 kB / 491.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008616/0.3577, allocations: 1.268 MB / 492.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3577, allocations: 7.938 kB / 492.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3591, allocations: 0.7722 MB / 493.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3592, allocations: 144.2 kB / 493.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.3593, allocations: 16 kB / 493.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3595, allocations: 12 kB / 493.3 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.3596, allocations: 43.92 kB / 493.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3596, allocations: 19.98 kB / 493.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.36, allocations: 359.1 kB / 493.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.36, allocations: 4 kB / 493.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006237/0.3606, allocations: 136 kB / 493.8 MB, free: 10.15 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.0001699/0.3608, allocations: 123 kB / 493.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.3617, allocations: 0.5773 MB / 494.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3618, allocations: 0 / 494.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.3622, allocations: 314.5 kB / 494.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.363, allocations: 90.95 kB / 494.9 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.366, allocations: 2.296 MB / 497.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.3666, allocations: 0.9651 MB / 498.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.3669, allocations: 85.94 kB / 498.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.367, allocations: 59.42 kB / 498.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.367, allocations: 0 / 498.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of Templates: time 0.01065/0.3777, allocations: 4.916 MB / 0.4914 GB, free: 0.6289 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches