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.001154/0.001154, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.621/1.621, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008673/0.0008674, allocations: 74.67 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.895e-05, allocations: 7.984 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5648, allocations: 81.86 MB / 451.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5652, allocations: 71.03 kB / 452 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05395/0.6191, allocations: 14.42 MB / 466.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6192, allocations: 0 / 466.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.146e-05/0.6193, allocations: 27.98 kB / 466.4 MB, free: 14.23 MB / 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.002113/0.6214, allocations: 0.9007 MB / 467.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.6215, allocations: 8.031 kB / 467.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.6217, allocations: 102.8 kB / 467.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.623, allocations: 0.5198 MB / 467.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.6231, allocations: 62.72 kB / 468 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6232, allocations: 80 kB / 468.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.6252, allocations: 0.8171 MB / 468.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.6252, allocations: 11.84 kB / 468.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/0.6253, allocations: 40 kB / 468.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.6254, allocations: 23.98 kB / 469 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6265, allocations: 439.5 kB / 469.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.6302, allocations: 4.402 MB / 473.8 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.6308, allocations: 295.4 kB / 474.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.631, allocations: 133.6 kB / 474.2 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.6313, allocations: 174.5 kB / 474.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.6313, allocations: 38.94 kB / 474.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.756e-06/0.6313, allocations: 0 / 474.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.00299/0.6343, allocations: 1.582 MB / 476 MB, free: 4.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6344, allocations: 59.97 kB / 476.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.635, allocations: 463.4 kB / 476.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.635, allocations: 37.7 kB / 476.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.6353, allocations: 474.5 kB / 477 MB, free: 3.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.6355, allocations: 216.9 kB / 477.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.6355, allocations: 16 kB / 477.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6357, allocations: 378.8 kB / 477.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.6359, allocations: 150 kB / 477.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.6364, allocations: 439.3 kB / 478.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.6367, allocations: 237.6 kB / 478.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6368, allocations: 224 / 478.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001085/0.6378, allocations: 0.715 MB / 479.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6379, allocations: 15.97 kB / 479.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6379, allocations: 8 kB / 479.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.6381, allocations: 48.84 kB / 479.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.6387, allocations: 183.7 kB / 479.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.6401, allocations: 1.514 MB / 480.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.6404, allocations: 28 kB / 480.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.6405, allocations: 39.98 kB / 481 MB, free: 14.79 MB / 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 () * 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.000143/0.6406, allocations: 152.7 kB / 481.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.6407, allocations: 79.12 kB / 481.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.6409, allocations: 75.08 kB / 481.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6409, allocations: 4 kB / 481.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6409, allocations: 7.891 kB / 481.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6409, allocations: 3.984 kB / 481.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.6429, allocations: 1.396 MB / 482.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6429, allocations: 4 kB / 482.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.6434, allocations: 111.9 kB / 482.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.6435, allocations: 32.78 kB / 482.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.6435, allocations: 15.95 kB / 482.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009404/0.6445, allocations: 1.272 MB / 484.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6445, allocations: 4 kB / 484.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6456, allocations: 0.877 MB / 485 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.6458, allocations: 132.3 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.6459, allocations: 19.95 kB / 485.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.6461, allocations: 15.98 kB / 485.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.6462, allocations: 43.98 kB / 485.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.6462, allocations: 16 kB / 485.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004789/0.6467, allocations: 351.2 kB / 485.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6467, allocations: 0 / 485.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006802/0.6474, allocations: 144 kB / 485.7 MB, free: 9.672 MB / 362.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 () * 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.0001839/0.6476, allocations: 119 kB / 485.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.6485, allocations: 0.5649 MB / 486.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6485, allocations: 4.125 kB / 486.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.6489, allocations: 294.3 kB / 486.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.6494, allocations: 87.59 kB / 486.7 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.6517, allocations: 1.55 MB / 488.3 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.6522, allocations: 0.9851 MB / 489.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.6525, allocations: 85.92 kB / 489.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.6527, allocations: 67.36 kB / 489.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6527, allocations: 0 / 489.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of Templates: time 0.01033/0.663, allocations: 4.859 MB / 494.3 MB, free: 0.9492 MB / 362.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/jenkins/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