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.001328/0.001329, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001458/0.001458, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.377/1.377, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001314/0.001314, allocations: 47.94 kB / 280.8 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09343, allocations: 46.63 MB / 327.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003825/0.09729, allocations: 2.301 MB / 329.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.09786, allocations: 187.3 kB / 329.9 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.09801, allocations: 8 kB / 329.9 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.09814, allocations: 27.77 kB / 329.9 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.0983, allocations: 51.59 kB / 330 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.09847, allocations: 43.97 kB / 330 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.09869, allocations: 235 kB / 330.3 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.09892, allocations: 110.6 kB / 330.4 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.09903, allocations: 91.66 kB / 330.5 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.09917, allocations: 99.55 kB / 330.6 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.09922, allocations: 20 kB / 330.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.09926, allocations: 28 kB / 330.6 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.09931, allocations: 47.83 kB / 330.7 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.09942, allocations: 111.5 kB / 330.8 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.09963, allocations: 203.7 kB / 331 MB, free: 1.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09964, allocations: 0 / 331 MB, free: 1.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09965, allocations: 3.938 kB / 331 MB, free: 1.246 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.09966, allocations: 0 / 331 MB, free: 1.246 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.0006987/0.1004, allocations: 0.5032 MB / 331.5 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1004, allocations: 8.031 kB / 331.5 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.1005, allocations: 28.66 kB / 331.5 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1007, allocations: 227.6 kB / 331.7 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1007, allocations: 16.94 kB / 331.7 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.1008, allocations: 24.38 kB / 331.8 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.1011, allocations: 228.9 kB / 332 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1012, allocations: 8.125 kB / 332 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1012, allocations: 11.94 kB / 332 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1012, allocations: 8 kB / 332 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.1015, allocations: 136 kB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1025, allocations: 0.8514 MB / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1027, allocations: 163.7 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.1028, allocations: 66.55 kB / 333.2 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1029, allocations: 0 / 333.2 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1029, allocations: 46.44 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.1029, allocations: 0 / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003486/0.1033, allocations: 166.2 kB / 333.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1033, allocations: 102.8 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1035, allocations: 198.6 kB / 333.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1035, allocations: 29.7 kB / 333.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1036, allocations: 159.8 kB / 333.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1037, allocations: 67.11 kB / 334 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.1038, allocations: 49.98 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1039, allocations: 334.8 kB / 334.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.104, allocations: 44.55 kB / 334.4 MB, free: 13.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1041, allocations: 150.8 kB / 334.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1044, allocations: 233.5 kB / 334.8 MB, free: 13.06 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1044, allocations: 4 kB / 334.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003123/0.1047, allocations: 237.4 kB / 335 MB, free: 12.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1048, allocations: 16.03 kB / 335 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1048, allocations: 4 kB / 335 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1048, allocations: 7.938 kB / 335 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.105, allocations: 59.91 kB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.105, allocations: 7.938 kB / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1051, allocations: 23.75 kB / 335.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1052, allocations: 16 kB / 335.1 MB, free: 12.68 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.0001106/0.1053, allocations: 137.7 kB / 335.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.1054, allocations: 27.75 kB / 335.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1054, allocations: 25.33 kB / 335.3 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1054, allocations: 4 kB / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1054, allocations: 0 / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1054, allocations: 0 / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.106, allocations: 436.8 kB / 335.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.106, allocations: 0 / 335.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1062, allocations: 44.02 kB / 335.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1062, allocations: 0 / 335.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1062, allocations: 8 kB / 335.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1062, allocations: 4 kB / 335.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1062, allocations: 4 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1066, allocations: 380.2 kB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1067, allocations: 96.92 kB / 336.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1067, allocations: 0 / 336.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1068, allocations: 8 kB / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1069, allocations: 11.97 kB / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1069, allocations: 8 kB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.941e-05/0.107, allocations: 144.3 kB / 336.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.107, allocations: 4 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.1073, allocations: 55.84 kB / 336.5 MB, free: 11.2 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.000114/0.1075, allocations: 103.2 kB / 336.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.1077, allocations: 139.8 kB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1077, allocations: 0.875 kB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1078, allocations: 60.55 kB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.1083, allocations: 32.12 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.1094, allocations: 0.7024 MB / 337.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1096, allocations: 0.7359 MB / 338.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1097, allocations: 19.44 kB / 338.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1097, allocations: 3.938 kB / 338.3 MB, free: 9.328 MB / 286.1 MB Notification: Performance of Templates: time 0.003961/0.1137, allocations: 2.278 MB / 340.6 MB, free: 7.043 MB / 286.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/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