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: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001185/0.001185, allocations: 184.2 kB / 18.66 MB, free: 4.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.515/1.515, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001232/0.001232, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004375/0.125, allocations: 2.247 MB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.1256, allocations: 195.2 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1257, allocations: 15.94 kB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1258, allocations: 35.64 kB / 377.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1261, allocations: 55.42 kB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1263, allocations: 55.94 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1266, allocations: 227 kB / 377.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.127, allocations: 118.3 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1271, allocations: 95.7 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1273, allocations: 103.5 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.1273, allocations: 24 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.1274, allocations: 20 kB / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1275, allocations: 43.84 kB / 378.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1276, allocations: 115.5 kB / 378.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.128, allocations: 255 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.128, allocations: 7.938 kB / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.128, allocations: 0 / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.128, allocations: 0 / 378.7 MB, free: 0.9805 MB / 318.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.0007448/0.1288, allocations: 0.5071 MB / 379.2 MB, free: 432 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/0.1289, allocations: 8.031 kB / 379.2 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.1289, allocations: 20.75 kB / 379.3 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1293, allocations: 223.9 kB / 379.5 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1293, allocations: 12.94 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1294, allocations: 28.36 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2312/0.3606, allocations: 228.6 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3606, allocations: 3.969 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.3607, allocations: 9.656 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3607, allocations: 6.594 kB / 379.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.361, allocations: 138.3 kB / 379.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3622, allocations: 0.8579 MB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3624, allocations: 158.3 kB / 380.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3625, allocations: 60.12 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3625, allocations: 4.688 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3625, allocations: 42.11 kB / 381 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.424e-06/0.3626, allocations: 0 / 381 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003833/0.3629, allocations: 169.9 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.363, allocations: 106.5 kB / 381.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3632, allocations: 203.2 kB / 381.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3632, allocations: 30.23 kB / 381.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.3633, allocations: 153.6 kB / 381.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.3633, allocations: 75.59 kB / 381.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.3634, allocations: 51.55 kB / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.3635, allocations: 330.9 kB / 382.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.3636, allocations: 44.98 kB / 382.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3638, allocations: 155.4 kB / 382.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.364, allocations: 224.5 kB / 382.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.364, allocations: 4.844 kB / 382.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004278/0.3645, allocations: 245.1 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3645, allocations: 7.406 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3645, allocations: 2.75 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.3645, allocations: 8.219 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3648, allocations: 59.22 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3648, allocations: 6.797 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3649, allocations: 28.41 kB / 382.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.365, allocations: 15.25 kB / 382.9 MB, free: 11.2 MB / 318.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.0001129/0.3651, allocations: 137.4 kB / 383 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.3652, allocations: 26.02 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.3653, allocations: 19.94 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3653, allocations: 2.125 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3653, allocations: 5.766 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3653, allocations: 2.797 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.3659, allocations: 424.1 kB / 383.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3659, allocations: 2.672 kB / 383.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3661, allocations: 39.17 kB / 383.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.3661, allocations: 2.422 kB / 383.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3661, allocations: 8.594 kB / 383.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3662, allocations: 9.109 kB / 383.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3662, allocations: 5.406 kB / 383.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3665, allocations: 372.5 kB / 383.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3666, allocations: 99.12 kB / 384 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3666, allocations: 3.625 kB / 384 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3667, allocations: 9.969 kB / 384 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3668, allocations: 14.3 kB / 384 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3668, allocations: 8.812 kB / 384 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.3669, allocations: 140.6 kB / 384.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3669, allocations: 4 kB / 384.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000357/0.3673, allocations: 53.25 kB / 384.2 MB, free: 10.12 MB / 318.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.0001003/0.3674, allocations: 102.3 kB / 384.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3677, allocations: 146.6 kB / 384.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3677, allocations: 0 / 384.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.3678, allocations: 59.06 kB / 384.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3683, allocations: 33.45 kB / 384.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.3692, allocations: 0.5845 MB / 385.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.3694, allocations: 0.7361 MB / 385.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.46e-05/0.3695, allocations: 21.67 kB / 385.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3696, allocations: 17.34 kB / 385.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3696, allocations: 0 / 385.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of Templates: time 0.004771/0.3744, allocations: 1.561 MB / 387.5 MB, free: 8.688 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches