Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001025/0.001025, allocations: 90.2 kB / 16.65 MB, free: 6.59 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.001313/0.001313, allocations: 182.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 9.688 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002559/0.1052, allocations: 1.945 MB / 353.8 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.1056, allocations: 191.3 kB / 354 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.1057, allocations: 4 kB / 354 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/0.1058, allocations: 23.83 kB / 354 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1059, allocations: 55.55 kB / 354 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1061, allocations: 47.97 kB / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1064, allocations: 226.9 kB / 354.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.1066, allocations: 87.25 kB / 354.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.1067, allocations: 83.64 kB / 354.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1068, allocations: 87.56 kB / 354.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1069, allocations: 12 kB / 354.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.1069, allocations: 12 kB / 354.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.107, allocations: 35.84 kB / 354.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1071, allocations: 129.2 kB / 354.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1073, allocations: 243.3 kB / 355 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1074, allocations: 4 kB / 355 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1074, allocations: 0 / 355 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1074, allocations: 0 / 355 MB, free: 0.5273 MB / 286.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.0007812/0.1082, allocations: 471.4 kB / 355.4 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1082, allocations: 12.03 kB / 355.5 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.1083, allocations: 24.7 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1085, allocations: 231.8 kB / 355.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1086, allocations: 12.94 kB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.1086, allocations: 24.38 kB / 355.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.109, allocations: 224.9 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.109, allocations: 4.188 kB / 356 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.1091, allocations: 15.94 kB / 356 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1091, allocations: 4 kB / 356 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1093, allocations: 135.9 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1105, allocations: 0.8633 MB / 357 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1107, allocations: 155.7 kB / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1108, allocations: 62.56 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1108, allocations: 0 / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1109, allocations: 42.75 kB / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.1109, allocations: 0 / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003742/0.1113, allocations: 169.9 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1113, allocations: 106.8 kB / 357.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1115, allocations: 202.5 kB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1116, allocations: 25.7 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1117, allocations: 159.8 kB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.1118, allocations: 74.97 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1118, allocations: 29.7 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1119, allocations: 326.8 kB / 358.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.112, allocations: 52.55 kB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1122, allocations: 155.5 kB / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.1125, allocations: 229.6 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1125, allocations: 0 / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00043/0.1129, allocations: 249 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.113, allocations: 7.938 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.113, allocations: 4 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.113, allocations: 4.438 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1132, allocations: 59.92 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1132, allocations: 15.98 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1134, allocations: 27.69 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1134, allocations: 8 kB / 359.1 MB, free: 12.02 MB / 302.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.0001136/0.1135, allocations: 145.7 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.1136, allocations: 23.75 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.1137, allocations: 25.39 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1137, allocations: 0 / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1137, allocations: 4 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1137, allocations: 4 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1142, allocations: 416.9 kB / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1142, allocations: 0 / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1144, allocations: 43.91 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1144, allocations: 0 / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1144, allocations: 8 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1145, allocations: 4.094 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1145, allocations: 4 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.1149, allocations: 378.3 kB / 360.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.1149, allocations: 100.9 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.115, allocations: 12.03 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1151, allocations: 4 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1151, allocations: 15.92 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1151, allocations: 4 kB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1153, allocations: 140.3 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.724e-06/0.1153, allocations: 0 / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.1156, allocations: 59.78 kB / 360.5 MB, free: 10.55 MB / 302.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.0001281/0.1158, allocations: 111.1 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.116, allocations: 139.8 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.116, allocations: 0 / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.1161, allocations: 56.38 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.1166, allocations: 32.36 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1177, allocations: 0.7461 MB / 361.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.118, allocations: 0.7323 MB / 362.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.1181, allocations: 17.95 kB / 362.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.1182, allocations: 19.44 kB / 362.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1182, allocations: 0 / 362.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Templates: time 0.004244/0.1224, allocations: 1.448 MB / 363.8 MB, free: 7.188 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches