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.001068/0.001068, allocations: 95.12 kB / 16.95 MB, free: 6.457 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.001666/0.001667, allocations: 187.3 kB / 17.84 MB, free: 5.996 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.536/1.536, allocations: 205.4 MB / 224 MB, free: 13.07 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.00056/0.0005603, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1063, allocations: 47.59 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002432/0.1088, allocations: 1.861 MB / 330.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005447/0.1094, allocations: 187.3 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1096, allocations: 8 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.649e-05/0.1096, allocations: 31.77 kB / 330.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1099, allocations: 43.61 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.11, allocations: 39.95 kB / 330.5 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1103, allocations: 222.9 kB / 330.7 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1105, allocations: 81.98 kB / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1107, allocations: 79.66 kB / 330.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1108, allocations: 83.61 kB / 331 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1109, allocations: 16 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.1109, allocations: 12 kB / 331 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.111, allocations: 39.84 kB / 331 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.111, allocations: 65.58 kB / 331.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1113, allocations: 187.7 kB / 331.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1113, allocations: 0 / 331.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1113, allocations: 0 / 331.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1113, allocations: 0 / 331.3 MB, free: 1.117 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.0006671/0.112, allocations: 479.2 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.112, allocations: 8.031 kB / 331.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1121, allocations: 27.7 kB / 331.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1123, allocations: 226.6 kB / 332 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1124, allocations: 20.52 kB / 332 MB, free: 292 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.1124, allocations: 20 kB / 332.1 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.1128, allocations: 232.3 kB / 332.3 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1128, allocations: 0 / 332.3 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.1129, allocations: 8 kB / 332.3 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1129, allocations: 8 kB / 332.3 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.1132, allocations: 127.9 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1143, allocations: 0.8672 MB / 333.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1146, allocations: 147.7 kB / 333.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.1147, allocations: 58.56 kB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1147, allocations: 4 kB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1148, allocations: 50.44 kB / 333.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.1148, allocations: 0 / 333.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003605/0.1151, allocations: 166.2 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1152, allocations: 106.8 kB / 333.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1154, allocations: 198.5 kB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1154, allocations: 29.7 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.1155, allocations: 155.9 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.1156, allocations: 70.98 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.1156, allocations: 11.94 kB / 334.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1157, allocations: 326.8 kB / 334.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.1158, allocations: 48.53 kB / 334.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1159, allocations: 150.8 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1161, allocations: 80 kB / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1161, allocations: 0 / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003515/0.1164, allocations: 241.5 kB / 335.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1165, allocations: 11.95 kB / 335.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1165, allocations: 7.938 kB / 335.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1165, allocations: 4 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1167, allocations: 63.89 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1167, allocations: 7.938 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1169, allocations: 35.69 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1169, allocations: 12.28 kB / 335.2 MB, free: 12.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1171, allocations: 145.7 kB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.1171, allocations: 19.8 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.1172, allocations: 25.36 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1172, allocations: 4 kB / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1172, allocations: 0 / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1172, allocations: 0 / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.1178, allocations: 428.8 kB / 335.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1179, allocations: 0 / 335.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.1181, allocations: 43.92 kB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1181, allocations: 0 / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1181, allocations: 4 kB / 335.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1181, allocations: 0 / 335.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1181, allocations: 4 kB / 335.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1185, allocations: 377.5 kB / 336.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.1186, allocations: 96.78 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1186, allocations: 8 kB / 336.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1187, allocations: 4 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1188, allocations: 12.03 kB / 336.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1188, allocations: 8 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1189, allocations: 144.3 kB / 336.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1189, allocations: 0 / 336.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.1193, allocations: 47.94 kB / 336.6 MB, free: 11.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.1194, allocations: 107.1 kB / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1197, allocations: 136.5 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1197, allocations: 4.062 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1198, allocations: 55.86 kB / 336.9 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.1203, allocations: 35.41 kB / 336.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1214, allocations: 0.7111 MB / 337.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1218, allocations: 0.7439 MB / 338.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.1219, allocations: 21.89 kB / 338.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.122, allocations: 19.44 kB / 338.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.122, allocations: 0 / 338.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of Templates: time 0.004181/0.1262, allocations: 1.401 MB / 339.8 MB, free: 8.074 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/jenkins/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