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.001535/0.001535, 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.001693/0.001693, 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.54/1.54, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001282/0.001282, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004279/0.1097, allocations: 2.251 MB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.1103, allocations: 191.3 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1106, allocations: 8 kB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1107, allocations: 39.64 kB / 377.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.111, allocations: 59.42 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1112, allocations: 51.94 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1116, allocations: 231 kB / 378 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.1118, allocations: 118.3 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.112, allocations: 87.7 kB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1122, allocations: 111.5 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1123, allocations: 20 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.1123, allocations: 20 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1124, allocations: 47.84 kB / 378.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1125, allocations: 115.4 kB / 378.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1128, allocations: 259 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1129, allocations: 3.984 kB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1129, allocations: 0 / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1129, allocations: 0 / 378.7 MB, free: 0.9844 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.000828/0.1137, allocations: 0.5032 MB / 379.2 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1138, allocations: 8.031 kB / 379.2 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.1139, allocations: 20.75 kB / 379.2 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1141, allocations: 227.8 kB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1142, allocations: 16.94 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.1143, allocations: 32.31 kB / 379.5 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2248/0.3391, allocations: 220.8 kB / 379.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.3391, allocations: 4.344 kB / 379.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3392, allocations: 13.44 kB / 379.8 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3392, allocations: 4.562 kB / 379.8 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.3394, allocations: 132.2 kB / 379.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3406, allocations: 0.8567 MB / 380.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3408, allocations: 163.7 kB / 380.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.3409, allocations: 60.94 kB / 381 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.341, allocations: 4.719 kB / 381 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.341, allocations: 39.55 kB / 381 MB, free: 12.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.341, allocations: 0.75 kB / 381 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003749/0.3414, allocations: 167.4 kB / 381.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3414, allocations: 105.6 kB / 381.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3416, allocations: 200.5 kB / 381.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3416, allocations: 30.45 kB / 381.5 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3417, allocations: 165.1 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3418, allocations: 63.23 kB / 381.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.3418, allocations: 54.97 kB / 381.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.3419, allocations: 327.7 kB / 382.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.342, allocations: 48.31 kB / 382.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3422, allocations: 154.3 kB / 382.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.3424, allocations: 225.6 kB / 382.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3424, allocations: 1.375 kB / 382.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004023/0.3428, allocations: 243.4 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3428, allocations: 8.109 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3428, allocations: 4.688 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3429, allocations: 6.938 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.3431, allocations: 61.83 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.3431, allocations: 6.172 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3433, allocations: 27.88 kB / 382.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3433, allocations: 16.64 kB / 382.9 MB, free: 11.15 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.0001138/0.3435, allocations: 145.8 kB / 383 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.3435, allocations: 21.5 kB / 383 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3436, allocations: 24.97 kB / 383.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3436, allocations: 2.562 kB / 383.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3436, allocations: 1.891 kB / 383.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3437, allocations: 2.406 kB / 383.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.3442, allocations: 422.1 kB / 383.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3442, allocations: 4.875 kB / 383.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.3444, allocations: 38.27 kB / 383.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3444, allocations: 2.656 kB / 383.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3445, allocations: 7.062 kB / 383.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3445, allocations: 5.766 kB / 383.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3445, allocations: 5.125 kB / 383.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.3448, allocations: 382 kB / 383.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.3449, allocations: 96.08 kB / 384 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3449, allocations: 7.203 kB / 384 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3451, allocations: 10.25 kB / 384 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3451, allocations: 9.438 kB / 384 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3451, allocations: 9.344 kB / 384.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.3452, allocations: 144.1 kB / 384.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3452, allocations: 0 / 384.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.3456, allocations: 49.88 kB / 384.2 MB, free: 10.07 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 8.463e-05/0.3457, allocations: 107.3 kB / 384.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3459, allocations: 142.4 kB / 384.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3459, allocations: 4.062 kB / 384.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.346, allocations: 56.95 kB / 384.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.3465, allocations: 29.3 kB / 384.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.3475, allocations: 0.5894 MB / 385.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.3477, allocations: 0.7357 MB / 385.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.357e-05/0.3477, allocations: 22.12 kB / 385.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3478, allocations: 17.56 kB / 385.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3478, allocations: 0 / 385.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of Templates: time 0.004519/0.3523, allocations: 1.566 MB / 387.5 MB, free: 8.641 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