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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 116.9 kB / 18.41 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 190.9 kB / 21.34 MB, free: 1.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 55.91 kB / 358.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1107, allocations: 49.43 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003836/0.1146, allocations: 2.255 MB / 410.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.1155, allocations: 199.3 kB / 410.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.1157, allocations: 4 kB / 410.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.1159, allocations: 35.64 kB / 410.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.1162, allocations: 63.42 kB / 410.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1164, allocations: 51.88 kB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1168, allocations: 239 kB / 410.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1171, allocations: 118.5 kB / 411 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1172, allocations: 91.7 kB / 411.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1174, allocations: 95.56 kB / 411.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.1175, allocations: 24 kB / 411.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1175, allocations: 20 kB / 411.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.1176, allocations: 47.84 kB / 411.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1177, allocations: 119.5 kB / 411.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.1182, allocations: 254.9 kB / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1182, allocations: 0 / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1182, allocations: 0 / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1182, allocations: 0 / 411.7 MB, free: 3.238 MB / 334.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.0008917/0.1191, allocations: 0.5184 MB / 412.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1191, allocations: 8.031 kB / 412.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.1192, allocations: 24.8 kB / 412.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1195, allocations: 218.8 kB / 412.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1195, allocations: 12.94 kB / 412.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.1196, allocations: 24.38 kB / 412.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.12, allocations: 240.8 kB / 412.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.12, allocations: 192 / 412.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1201, allocations: 11.94 kB / 412.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1201, allocations: 7.938 kB / 412.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.1204, allocations: 135.9 kB / 412.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1216, allocations: 0.8561 MB / 413.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1218, allocations: 159.9 kB / 413.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1219, allocations: 70.55 kB / 413.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.122, allocations: 0 / 413.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.122, allocations: 38.5 kB / 414 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.122, allocations: 3.938 kB / 414 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000395/0.1224, allocations: 177.8 kB / 414.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.1225, allocations: 106.8 kB / 414.3 MB, free: 420 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1227, allocations: 194.3 kB / 414.5 MB, free: 216 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1227, allocations: 25.7 kB / 414.5 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1228, allocations: 164.1 kB / 414.6 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.1229, allocations: 67.62 kB / 414.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.123, allocations: 53.94 kB / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1232, allocations: 326.8 kB / 415.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.1233, allocations: 48.53 kB / 415.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1235, allocations: 158.8 kB / 415.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1238, allocations: 221.5 kB / 415.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1238, allocations: 4 kB / 415.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004061/0.1242, allocations: 237.2 kB / 415.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1242, allocations: 11.75 kB / 415.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1242, allocations: 4 kB / 415.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1243, allocations: 4 kB / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1245, allocations: 63.84 kB / 415.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1245, allocations: 4 kB / 415.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1247, allocations: 40.41 kB / 415.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1247, allocations: 12 kB / 415.9 MB, free: 14.66 MB / 350.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.0001318/0.1248, allocations: 141.7 kB / 416 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.1249, allocations: 27.78 kB / 416 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.125, allocations: 25.39 kB / 416.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.125, allocations: 4 kB / 416.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.125, allocations: 0 / 416.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.125, allocations: 0 / 416.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.1256, allocations: 432.8 kB / 416.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1256, allocations: 0 / 416.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1258, allocations: 43.92 kB / 416.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1259, allocations: 0 / 416.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1259, allocations: 4 kB / 416.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1259, allocations: 0 / 416.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1259, allocations: 4 kB / 416.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.1263, allocations: 383.8 kB / 416.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.1264, allocations: 100.9 kB / 417 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1264, allocations: 4 kB / 417 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1266, allocations: 4 kB / 417 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1266, allocations: 23.91 kB / 417 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1266, allocations: 11.94 kB / 417.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1268, allocations: 144.3 kB / 417.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1268, allocations: 0 / 417.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1271, allocations: 51.89 kB / 417.2 MB, free: 13.17 MB / 350.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.000135/0.1273, allocations: 103.7 kB / 417.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.1276, allocations: 143.9 kB / 417.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1276, allocations: 0 / 417.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.1277, allocations: 56 kB / 417.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.1282, allocations: 27.98 kB / 417.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1293, allocations: 0.6244 MB / 418.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.1297, allocations: 0.732 MB / 418.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.1297, allocations: 23.42 kB / 418.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1298, allocations: 0 / 418.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Templates: time 0.004647/0.1344, allocations: 2.303 MB / 421.3 MB, free: 9.078 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.123897323966958]