Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009616, allocations: 203 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009078/0.0009078, allocations: 96.09 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1922, allocations: 51.47 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09448/0.2868, allocations: 83.87 MB / 493.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.287, allocations: 71.97 kB / 493.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03399/0.321, allocations: 14.76 MB / 0.4962 GB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.321, allocations: 0 / 0.4962 GB, free: 7.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.245e-05/0.3211, allocations: 24 kB / 0.4962 GB, free: 7.672 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.001896/0.323, allocations: 0.982 MB / 0.4972 GB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3231, allocations: 8.031 kB / 0.4972 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.3235, allocations: 114.8 kB / 0.4973 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.3244, allocations: 0.5199 MB / 0.4978 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.3245, allocations: 61.95 kB / 0.4979 GB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3246, allocations: 80 kB / 0.4979 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3259, allocations: 0.8326 MB / 0.4987 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.326, allocations: 15.84 kB / 0.4988 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.326, allocations: 36 kB / 0.4988 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.3261, allocations: 20 kB / 0.4988 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.3269, allocations: 471.3 kB / 0.4993 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1661/0.493, allocations: 4.39 MB / 0.5035 GB, free: 89.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4941, allocations: 298.4 kB / 0.5038 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.4943, allocations: 168.8 kB / 0.504 GB, free: 89.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4944, allocations: 41.89 kB / 0.504 GB, free: 89.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.926e-06/0.4944, allocations: 0 / 0.504 GB, free: 89.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003839/0.4982, allocations: 1.74 MB / 0.5057 GB, free: 89.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4983, allocations: 62.94 kB / 0.5058 GB, free: 89.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.499, allocations: 474.6 kB / 0.5062 GB, free: 88.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4991, allocations: 35.05 kB / 0.5063 GB, free: 88.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.4994, allocations: 479.2 kB / 0.5067 GB, free: 88.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.4995, allocations: 213.8 kB / 0.5069 GB, free: 88.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.4996, allocations: 17.75 kB / 0.507 GB, free: 88.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4997, allocations: 378.3 kB / 0.5073 GB, free: 88.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.5, allocations: 162.9 kB / 0.5075 GB, free: 88.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.5005, allocations: 452.8 kB / 0.5079 GB, free: 87.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.5009, allocations: 233.1 kB / 0.5081 GB, free: 87.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5009, allocations: 8.547 kB / 0.5081 GB, free: 87.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001232/0.5022, allocations: 0.7357 MB / 0.5089 GB, free: 87.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5022, allocations: 16.94 kB / 0.5089 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.5022, allocations: 10.28 kB / 0.5089 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.5024, allocations: 54.02 kB / 0.5089 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.503, allocations: 176.5 kB / 0.5091 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.5043, allocations: 1.517 MB / 0.5106 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.5047, allocations: 28.17 kB / 0.5106 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.5048, allocations: 38.33 kB / 0.5106 GB, free: 86.43 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.0003692/0.5052, allocations: 240.8 kB / 0.5109 GB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.5053, allocations: 75.92 kB / 0.5109 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.5055, allocations: 74.62 kB / 0.511 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5055, allocations: 5.75 kB / 0.511 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5055, allocations: 1.156 kB / 0.511 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5055, allocations: 5 kB / 0.511 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.5075, allocations: 1.419 MB / 0.5124 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5075, allocations: 3 kB / 0.5124 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.508, allocations: 118.3 kB / 0.5125 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.885e-05/0.5081, allocations: 26.39 kB / 0.5126 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5081, allocations: 14 kB / 0.5126 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/0.5087, allocations: 1.285 MB / 0.5138 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5087, allocations: 7.484 kB / 0.5138 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.5095, allocations: 0.9054 MB / 0.5147 GB, free: 83.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5097, allocations: 141 kB / 0.5148 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.5097, allocations: 10.53 kB / 0.5149 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.5099, allocations: 17.02 kB / 0.5149 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.51, allocations: 38.72 kB / 0.5149 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.51, allocations: 25.73 kB / 0.5149 GB, free: 83.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002914/0.5103, allocations: 358.9 kB / 0.5153 GB, free: 83.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5103, allocations: 96 / 0.5153 GB, free: 83.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006188/0.511, allocations: 148.9 kB / 0.5154 GB, free: 83.75 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.0001211/0.5111, allocations: 118.4 kB / 0.5155 GB, free: 83.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.5118, allocations: 0.5776 MB / 0.5161 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5118, allocations: 4.25 kB / 0.5161 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.5121, allocations: 306.5 kB / 0.5164 GB, free: 83.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.5125, allocations: 91.97 kB / 0.5165 GB, free: 83.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.5147, allocations: 2.3 MB / 0.5187 GB, free: 81.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.515, allocations: 0.9859 MB / 0.5197 GB, free: 80.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.5153, allocations: 77.94 kB / 0.5198 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.5154, allocations: 60.83 kB / 0.5198 GB, free: 80.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5154, allocations: 0 / 0.5198 GB, free: 80.94 MB / 378.7 MB Notification: Performance of Templates: time 0.00898/0.5244, allocations: 4.86 MB / 0.5246 GB, free: 80.61 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches