Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.64 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003713/0.1058, allocations: 2.24 MB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.1063, allocations: 211.2 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.1064, allocations: 8 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.887e-05/0.1065, allocations: 39.64 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1066, allocations: 59.42 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.1068, allocations: 55.88 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1071, allocations: 235 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1073, allocations: 118.5 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1074, allocations: 87.72 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1076, allocations: 99.55 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.1076, allocations: 20 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.1077, allocations: 24 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.1077, allocations: 47.84 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1079, allocations: 111.5 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1081, allocations: 255.3 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1081, allocations: 4 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1082, allocations: 0 / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1082, allocations: 0 / 361.1 MB, free: 10.46 MB / 302.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.0007668/0.1089, allocations: 0.5071 MB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.109, allocations: 8.031 kB / 361.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1091, allocations: 24.66 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1093, allocations: 223.9 kB / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1093, allocations: 16.94 kB / 361.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.1094, allocations: 28.28 kB / 361.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.1098, allocations: 228.8 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1098, allocations: 192 / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1099, allocations: 19.94 kB / 362.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1099, allocations: 4 kB / 362.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1101, allocations: 138.5 kB / 362.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1114, allocations: 0.8517 MB / 363.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1117, allocations: 164 kB / 363.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1118, allocations: 62.5 kB / 363.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1118, allocations: 4 kB / 363.4 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1119, allocations: 38.5 kB / 363.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.236e-06/0.1119, allocations: 0 / 363.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003901/0.1123, allocations: 177.5 kB / 363.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.1124, allocations: 110.8 kB / 363.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1126, allocations: 202 kB / 363.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1126, allocations: 29.7 kB / 363.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1127, allocations: 160.1 kB / 364.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.1128, allocations: 59.11 kB / 364.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.1129, allocations: 53.89 kB / 364.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1131, allocations: 334.8 kB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.1132, allocations: 48.55 kB / 364.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1134, allocations: 151.6 kB / 364.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1137, allocations: 225.5 kB / 364.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1137, allocations: 4 kB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003709/0.114, allocations: 237.1 kB / 365.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1141, allocations: 7.938 kB / 365.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1141, allocations: 4 kB / 365.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.1141, allocations: 8.438 kB / 365.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.1143, allocations: 67.91 kB / 365.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1144, allocations: 7.938 kB / 365.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1145, allocations: 27.69 kB / 365.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1145, allocations: 12.78 kB / 365.3 MB, free: 5.883 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.0001193/0.1146, allocations: 137.7 kB / 365.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.1147, allocations: 27.73 kB / 365.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1148, allocations: 21.41 kB / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1148, allocations: 0 / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1148, allocations: 8 kB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1148, allocations: 0 / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.1154, allocations: 420.9 kB / 365.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1154, allocations: 7.938 kB / 365.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1156, allocations: 35.92 kB / 366 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1156, allocations: 4 kB / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.1157, allocations: 4 kB / 366 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1157, allocations: 8.094 kB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1157, allocations: 0 / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1161, allocations: 389 kB / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.1162, allocations: 92.86 kB / 366.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1162, allocations: 12 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1163, allocations: 7.938 kB / 366.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1164, allocations: 15.97 kB / 366.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1164, allocations: 4 kB / 366.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1165, allocations: 139.2 kB / 366.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1165, allocations: 0 / 366.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.1169, allocations: 59.84 kB / 366.7 MB, free: 4.398 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.0001161/0.117, allocations: 103.2 kB / 366.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1173, allocations: 143.7 kB / 366.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1173, allocations: 0 / 366.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.1174, allocations: 52.98 kB / 367 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.1179, allocations: 39.98 kB / 367 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.119, allocations: 0.5873 MB / 367.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1194, allocations: 0.7398 MB / 368.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.1195, allocations: 17.95 kB / 368.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1196, allocations: 19.44 kB / 368.4 MB, free: 2.629 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1196, allocations: 0 / 368.4 MB, free: 2.629 MB / 302.1 MB Notification: Performance of Templates: time 0.004777/0.1244, allocations: 1.524 MB / 369.9 MB, free: 1.117 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches