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.001151/0.001151, allocations: 103.4 kB / 17.16 MB, free: 6.316 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.001172/0.001172, allocations: 190 kB / 18.07 MB, free: 5.414 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.228/1.228, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001068/0.001068, allocations: 48.27 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07709/0.07817, allocations: 46.62 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002928/0.08113, allocations: 2.303 MB / 329 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.08147, allocations: 195.2 kB / 329.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.08156, allocations: 4 kB / 329.2 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.572e-05/0.08165, allocations: 23.83 kB / 329.2 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.08178, allocations: 63.47 kB / 329.3 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.08193, allocations: 39.97 kB / 329.3 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.08214, allocations: 227 kB / 329.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.08233, allocations: 91.52 kB / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.08243, allocations: 87.72 kB / 329.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.08256, allocations: 99.48 kB / 329.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.0826, allocations: 19.98 kB / 329.8 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.08264, allocations: 16 kB / 329.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.08269, allocations: 39.84 kB / 329.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.08278, allocations: 107.5 kB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.08301, allocations: 251 kB / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.08302, allocations: 0 / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08302, allocations: 0 / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.08304, allocations: 4 kB / 330.2 MB, free: 1.238 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.000654/0.08369, allocations: 0.4993 MB / 330.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.08375, allocations: 16.02 kB / 330.7 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.08381, allocations: 54.73 kB / 330.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.08386, allocations: 24.66 kB / 330.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.08406, allocations: 220 kB / 331 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.08408, allocations: 16.94 kB / 331.1 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.08413, allocations: 24.38 kB / 331.1 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.08447, allocations: 228.9 kB / 331.3 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.0845, allocations: 11.92 kB / 331.3 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.08452, allocations: 4 kB / 331.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.08454, allocations: 8 kB / 331.3 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.08478, allocations: 135.9 kB / 331.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.08581, allocations: 0.8593 MB / 332.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.08603, allocations: 159.7 kB / 332.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.08612, allocations: 66.56 kB / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.08614, allocations: 0 / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.08616, allocations: 42.44 kB / 332.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.08617, allocations: 0 / 332.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003241/0.0865, allocations: 165.7 kB / 332.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.08655, allocations: 102.8 kB / 332.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.08672, allocations: 210.6 kB / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.08675, allocations: 33.69 kB / 333.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.08683, allocations: 151.8 kB / 333.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.08689, allocations: 71.03 kB / 333.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.08696, allocations: 49.98 kB / 333.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.08706, allocations: 330.8 kB / 333.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.08714, allocations: 44.55 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.08729, allocations: 158.8 kB / 333.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.08753, allocations: 214.2 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.08754, allocations: 4 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003409/0.08789, allocations: 261.1 kB / 334.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.08791, allocations: 8 kB / 334.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.08792, allocations: 4 kB / 334.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.08795, allocations: 7.984 kB / 334.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.08815, allocations: 59.91 kB / 334.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.08816, allocations: 4 kB / 334.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.08829, allocations: 36.12 kB / 334.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.08831, allocations: 12 kB / 334.5 MB, free: 12.61 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 0.0001105/0.08843, allocations: 145.7 kB / 334.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.0885, allocations: 19.75 kB / 334.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.08855, allocations: 21.41 kB / 334.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.08856, allocations: 4 kB / 334.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.08857, allocations: 0 / 334.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.08858, allocations: 3.984 kB / 334.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.08905, allocations: 424.8 kB / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.08906, allocations: 0 / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.08926, allocations: 43.92 kB / 335.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.08927, allocations: 0 / 335.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.08929, allocations: 4 kB / 335.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.08929, allocations: 0 / 335.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.0893, allocations: 7.984 kB / 335.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.08964, allocations: 381.1 kB / 335.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.0897, allocations: 92.92 kB / 335.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.08973, allocations: 4 kB / 335.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.08987, allocations: 4 kB / 335.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.08991, allocations: 23.91 kB / 335.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.08992, allocations: 11.94 kB / 335.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.09002, allocations: 140.3 kB / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09003, allocations: 0 / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.09037, allocations: 55.84 kB / 335.8 MB, free: 11.13 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.0005756/0.09095, allocations: 0.9046 MB / 336.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.09118, allocations: 136.5 kB / 336.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.09119, allocations: 4.062 kB / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.09127, allocations: 63.83 kB / 336.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.09173, allocations: 31.92 kB / 337 MB, free: 9.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.09422, allocations: 2.615 MB / 339.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.09452, allocations: 0.732 MB / 340.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.89e-05/0.09461, allocations: 25.94 kB / 340.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.0947, allocations: 55.42 kB / 340.4 MB, free: 6.312 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09471, allocations: 7.938 kB / 340.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.1068, allocations: 3.49 MB / 343.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.107, allocations: 204.3 kB / 344.1 MB, free: 2.527 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.781, allocations: 0 / 344.1 MB, free: 2.527 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