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.001525/0.001525, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001129/0.001129, allocations: 103.1 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4578, allocations: 81.95 MB / 456.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4581, allocations: 75.95 kB / 456.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05966/0.5178, allocations: 14.45 MB / 471 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5179, allocations: 0 / 471 MB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.625e-05/0.518, allocations: 27.98 kB / 471 MB, free: 0 / 346.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.002349/0.5204, allocations: 0.9741 MB / 472 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5204, allocations: 8.031 kB / 472 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.5207, allocations: 102.8 kB / 472.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5219, allocations: 0.5199 MB / 472.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.522, allocations: 61.95 kB / 472.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.5222, allocations: 84 kB / 472.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.5241, allocations: 0.8329 MB / 473.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/0.5242, allocations: 15.84 kB / 473.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.5243, allocations: 32 kB / 473.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.5244, allocations: 27.98 kB / 473.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.5259, allocations: 471.3 kB / 474.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/0.5316, allocations: 4.397 MB / 478.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.5326, allocations: 307.3 kB / 478.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.5329, allocations: 170.6 kB / 479 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.5329, allocations: 46.88 kB / 479.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 5.35e-06/0.5329, allocations: 0 / 479.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.005075/0.538, allocations: 1.736 MB / 480.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5381, allocations: 55.97 kB / 480.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.539, allocations: 475.3 kB / 481.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.539, allocations: 33.7 kB / 481.3 MB, free: 5.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.5394, allocations: 0.5008 MB / 481.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.5397, allocations: 209.1 kB / 482.1 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.5397, allocations: 16 kB / 482.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5399, allocations: 338.8 kB / 482.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.5404, allocations: 157.9 kB / 482.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.5411, allocations: 451.2 kB / 483 MB, free: 3.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.5418, allocations: 236.7 kB / 483.2 MB, free: 3.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.5418, allocations: 8 kB / 483.2 MB, free: 3.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001777/0.5436, allocations: 0.696 MB / 483.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.5437, allocations: 12 kB / 483.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5437, allocations: 8 kB / 483.9 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.5439, allocations: 52.78 kB / 484 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.545, allocations: 183.7 kB / 484.2 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.5468, allocations: 1.526 MB / 485.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.5473, allocations: 32 kB / 485.7 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.5474, allocations: 32 kB / 485.8 MB, free: 408 kB / 362.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.0005123/0.5479, allocations: 237.6 kB / 486 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5481, allocations: 67.16 kB / 486.1 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.5483, allocations: 79.06 kB / 486.1 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.5483, allocations: 4 kB / 486.1 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.5483, allocations: 0 / 486.1 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5483, allocations: 3.953 kB / 486.1 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.5514, allocations: 1.424 MB / 487.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5515, allocations: 3.984 kB / 487.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/0.5525, allocations: 119.8 kB / 487.7 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.5526, allocations: 25.19 kB / 487.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.5527, allocations: 16 kB / 487.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.5539, allocations: 1.272 MB / 489 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5539, allocations: 8.062 kB / 489 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.5558, allocations: 0.9081 MB / 489.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.5559, allocations: 144.1 kB / 490.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.5561, allocations: 23.94 kB / 490.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.5564, allocations: 12 kB / 490.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5565, allocations: 35.95 kB / 490.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.5566, allocations: 16 kB / 490.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006447/0.5572, allocations: 363.1 kB / 490.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5572, allocations: 4 kB / 490.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00093/0.5582, allocations: 136 kB / 490.6 MB, free: 11.13 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.0002045/0.5584, allocations: 119.2 kB / 490.8 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.5598, allocations: 0.5844 MB / 491.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5599, allocations: 0 / 491.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.5605, allocations: 314.8 kB / 491.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.5612, allocations: 83.09 kB / 491.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.5658, allocations: 2.33 MB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.5666, allocations: 0.985 MB / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.5669, allocations: 67.42 kB / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5669, allocations: 0 / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of Templates: time 0.2812/0.8481, allocations: 11.66 MB / 0.4949 GB, free: 103.9 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