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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 176.3 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007544, allocations: 98.31 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.000474, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 50.39 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0959/0.3228, allocations: 83.12 MB / 485.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.3231, allocations: 71.95 kB / 485.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03422/0.3573, allocations: 14.67 MB / 0.4889 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3573, allocations: 7.938 kB / 0.4889 GB, free: 14.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.737e-05/0.3574, allocations: 20 kB / 0.4889 GB, free: 14.2 MB / 378.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.001328/0.3587, allocations: 0.9745 MB / 0.4898 GB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3588, allocations: 12.03 kB / 0.4899 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3589, allocations: 103.7 kB / 0.49 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3596, allocations: 0.5363 MB / 0.4905 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.3596, allocations: 62.38 kB / 0.4905 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3597, allocations: 88.27 kB / 0.4906 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3609, allocations: 0.837 MB / 0.4914 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.3609, allocations: 16.03 kB / 0.4915 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.361, allocations: 35.94 kB / 0.4915 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.361, allocations: 20 kB / 0.4915 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.3618, allocations: 475.3 kB / 0.492 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3651, allocations: 4.404 MB / 0.4963 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.3656, allocations: 295.6 kB / 0.4965 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3658, allocations: 137.6 kB / 0.4967 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.366, allocations: 174.6 kB / 0.4968 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3661, allocations: 42.88 kB / 0.4969 GB, free: 5.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.023e-06/0.3661, allocations: 0 / 0.4969 GB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002938/0.369, allocations: 1.738 MB / 0.4986 GB, free: 3.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3691, allocations: 55.97 kB / 0.4986 GB, free: 3.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.3696, allocations: 0.5275 MB / 0.4991 GB, free: 3.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3696, allocations: 37.7 kB / 0.4992 GB, free: 3.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.3699, allocations: 486.3 kB / 0.4996 GB, free: 2.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.37, allocations: 216.9 kB / 0.4999 GB, free: 2.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3701, allocations: 16 kB / 0.4999 GB, free: 2.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3702, allocations: 386.7 kB / 0.5002 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3705, allocations: 153.9 kB / 0.5004 GB, free: 1.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3709, allocations: 455.2 kB / 0.5008 GB, free: 1.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.3717, allocations: 0.6672 MB / 0.5015 GB, free: 476 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3717, allocations: 4 kB / 0.5015 GB, free: 472 kB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.1711/0.5428, allocations: 0.7268 MB / 0.5022 GB, free: 94.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5429, allocations: 10.67 kB / 0.5022 GB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.5429, allocations: 9.531 kB / 0.5022 GB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.5431, allocations: 47.44 kB / 0.5022 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.5437, allocations: 183.5 kB / 0.5024 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.5448, allocations: 1.515 MB / 0.5039 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5452, allocations: 30.12 kB / 0.5039 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.5452, allocations: 40.59 kB / 0.504 GB, free: 93.41 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.0003381/0.5456, allocations: 233.3 kB / 0.5042 GB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.5457, allocations: 68.91 kB / 0.5043 GB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.5458, allocations: 76.53 kB / 0.5043 GB, free: 93.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.5458, allocations: 6.984 kB / 0.5043 GB, free: 93.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5458, allocations: 0.9375 kB / 0.5043 GB, free: 93.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5458, allocations: 4.453 kB / 0.5043 GB, free: 93.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.5476, allocations: 1.431 MB / 0.5057 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5476, allocations: 2.531 kB / 0.5057 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.5481, allocations: 115.7 kB / 0.5059 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/0.5482, allocations: 24.67 kB / 0.5059 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.5482, allocations: 21.45 kB / 0.5059 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/0.5487, allocations: 1.273 MB / 0.5071 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5488, allocations: 6.156 kB / 0.5071 GB, free: 91.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.5498, allocations: 0.7801 MB / 0.5079 GB, free: 91.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.5499, allocations: 139.3 kB / 0.508 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.55, allocations: 13.08 kB / 0.5081 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5502, allocations: 13.48 kB / 0.5081 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.5502, allocations: 47.09 kB / 0.5081 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.5503, allocations: 18.81 kB / 0.5081 GB, free: 91.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004793/0.5507, allocations: 358.2 kB / 0.5085 GB, free: 91.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5508, allocations: 0.5625 kB / 0.5085 GB, free: 91.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000753/0.5515, allocations: 137.8 kB / 0.5086 GB, free: 91.14 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.0001692/0.5517, allocations: 128.3 kB / 0.5087 GB, free: 91.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008139/0.5525, allocations: 0.5835 MB / 0.5093 GB, free: 90.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5525, allocations: 3.688 kB / 0.5093 GB, free: 90.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.5529, allocations: 310.5 kB / 0.5096 GB, free: 90.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.5536, allocations: 91.78 kB / 0.5097 GB, free: 90.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.5559, allocations: 2.292 MB / 0.5119 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.5562, allocations: 0.9641 MB / 0.5129 GB, free: 88.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.5565, allocations: 81.41 kB / 0.5129 GB, free: 88.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.5566, allocations: 62.44 kB / 0.513 GB, free: 88.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5566, allocations: 0 / 0.513 GB, free: 88.7 MB / 378.7 MB Notification: Performance of Templates: time 0.00872/0.5653, allocations: 4.886 MB / 0.5178 GB, free: 88.39 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches