Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 112.4 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 52.14 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.07772, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003472/0.08123, allocations: 2.296 MB / 329.2 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.08177, allocations: 187.3 kB / 329.4 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.08194, allocations: 8 kB / 329.4 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.08208, allocations: 19.83 kB / 329.4 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.08226, allocations: 59.53 kB / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.08244, allocations: 47.97 kB / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.08267, allocations: 239 kB / 329.7 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.08288, allocations: 106.9 kB / 329.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.08298, allocations: 91.66 kB / 329.9 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.08311, allocations: 103.5 kB / 330 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.08315, allocations: 20 kB / 330 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.08319, allocations: 28 kB / 330.1 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.08323, allocations: 47.78 kB / 330.1 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.08333, allocations: 111.5 kB / 330.2 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.08358, allocations: 255.1 kB / 330.5 MB, free: 1.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0836, allocations: 3.938 kB / 330.5 MB, free: 1.066 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0836, allocations: 0 / 330.5 MB, free: 1.066 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.08361, allocations: 0 / 330.5 MB, free: 1.066 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006275/0.08425, allocations: 0.5071 MB / 331 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.08429, allocations: 8.031 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.08435, allocations: 58.73 kB / 331 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.0844, allocations: 28.64 kB / 331.1 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.08459, allocations: 216 kB / 331.3 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.08463, allocations: 20.94 kB / 331.3 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.08467, allocations: 20.38 kB / 331.3 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.08504, allocations: 236.9 kB / 331.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.08506, allocations: 3.938 kB / 331.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.08509, allocations: 12 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.0851, allocations: 4 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.08532, allocations: 135.8 kB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.08643, allocations: 0.8633 MB / 332.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.08665, allocations: 155.7 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.08674, allocations: 58.56 kB / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.08676, allocations: 4 kB / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.08679, allocations: 50.42 kB / 332.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.0868, allocations: 0 / 332.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003284/0.08713, allocations: 169.7 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.08719, allocations: 106.8 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.08736, allocations: 198.6 kB / 333.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.08738, allocations: 29.7 kB / 333.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.08748, allocations: 159.8 kB / 333.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.08753, allocations: 71.02 kB / 333.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.0876, allocations: 49.98 kB / 333.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.08773, allocations: 326.8 kB / 333.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.08781, allocations: 52.53 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.08796, allocations: 150.8 kB / 334.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.08822, allocations: 221.5 kB / 334.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.08824, allocations: 0 / 334.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003237/0.08856, allocations: 257.2 kB / 334.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.08858, allocations: 4 kB / 334.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0886, allocations: 4 kB / 334.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.08862, allocations: 8 kB / 334.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.08881, allocations: 59.91 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.08883, allocations: 8.781 kB / 334.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.08897, allocations: 27.69 kB / 334.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.08899, allocations: 16 kB / 334.7 MB, free: 12.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.08909, allocations: 141.8 kB / 334.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.08916, allocations: 23.75 kB / 334.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.08922, allocations: 25.58 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.08923, allocations: 0 / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.08924, allocations: 7.984 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.08925, allocations: 0 / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.08978, allocations: 424.8 kB / 335.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0898, allocations: 4.094 kB / 335.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.09, allocations: 39.92 kB / 335.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.09001, allocations: 0 / 335.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.09003, allocations: 8 kB / 335.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.09004, allocations: 4 kB / 335.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.09004, allocations: 0 / 335.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.09038, allocations: 381 kB / 335.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.09045, allocations: 96.95 kB / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.09048, allocations: 4 kB / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.09062, allocations: 4 kB / 335.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.09065, allocations: 15.92 kB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.09066, allocations: 4 kB / 335.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.09077, allocations: 148.3 kB / 336 MB, free: 11.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09078, allocations: 0 / 336 MB, free: 11.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000338/0.09112, allocations: 55.84 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005646/0.09169, allocations: 0.9084 MB / 337 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.09194, allocations: 151.6 kB / 337.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.09195, allocations: 0 / 337.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.09203, allocations: 52.8 kB / 337.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.0925, allocations: 32.11 kB / 337.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.09505, allocations: 2.622 MB / 339.8 MB, free: 6.965 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.09534, allocations: 0.7359 MB / 340.6 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.09543, allocations: 17.95 kB / 340.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.09552, allocations: 67.34 kB / 340.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09553, allocations: 0 / 340.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/0.2739, allocations: 3.575 MB / 344.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.2741, allocations: 208.6 kB / 344.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.196, allocations: 0 / 344.4 MB, free: 2.27 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches