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.00208/0.00208, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002265/0.002265, allocations: 149.4 kB / 24.25 MB, free: 192 kB / 18.57 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.441/1.441, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.373e-06/1.373e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.605e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003701/0.003727, allocations: 2.133 MB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.004282, allocations: 191.2 kB / 269.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.0044, allocations: 4 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.004505, allocations: 39.64 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.00471, allocations: 71.34 kB / 269.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.004913, allocations: 51.86 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.005239, allocations: 242.8 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.005441, allocations: 71.02 kB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.005678, allocations: 143.7 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005819, allocations: 63.8 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.005867, allocations: 24 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.005907, allocations: 20 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.005971, allocations: 67.73 kB / 270.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.006093, allocations: 75.83 kB / 270.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.006447, allocations: 255.1 kB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.006452, allocations: 0 / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006453, allocations: 0 / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.006462, allocations: 0 / 270.7 MB, free: 3.301 MB / 250.7 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.0008288/0.007291, allocations: 449.8 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.007326, allocations: 8.922 kB / 271.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.007436, allocations: 44.8 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.007694, allocations: 161.5 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.007722, allocations: 20.86 kB / 271.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.007775, allocations: 24.38 kB / 271.4 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.008212, allocations: 232 kB / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.008231, allocations: 4.141 kB / 271.6 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.008256, allocations: 8.375 kB / 271.7 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.008268, allocations: 8.375 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.008533, allocations: 139.8 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.009765, allocations: 0.732 MB / 272.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.01005, allocations: 151.7 kB / 272.7 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.01021, allocations: 54.56 kB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.01023, allocations: 4 kB / 272.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.01028, allocations: 38.56 kB / 272.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.01028, allocations: 4 kB / 272.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006882/0.01097, allocations: 169.7 kB / 272.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.01109, allocations: 118.7 kB / 273.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.01141, allocations: 171.5 kB / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.01144, allocations: 25.7 kB / 273.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.01163, allocations: 164.2 kB / 273.4 MB, free: 392 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.01173, allocations: 71.41 kB / 273.5 MB, free: 320 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.01187, allocations: 49.98 kB / 273.5 MB, free: 264 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.01207, allocations: 330.8 kB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.01218, allocations: 44.55 kB / 273.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.01239, allocations: 165.5 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.01285, allocations: 226.1 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.01285, allocations: 4 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005333/0.01339, allocations: 249.6 kB / 274.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.01341, allocations: 12.02 kB / 274.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.01342, allocations: 4 kB / 274.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.01346, allocations: 8 kB / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.01372, allocations: 59.92 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.01374, allocations: 11.88 kB / 274.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01389, allocations: 27.78 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.01392, allocations: 15.98 kB / 274.7 MB, free: 15.02 MB / 266.7 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.0001451/0.01406, allocations: 133.8 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.01414, allocations: 23.91 kB / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.0142, allocations: 17.47 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01421, allocations: 8 kB / 274.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.01421, allocations: 3.938 kB / 274.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.01422, allocations: 3.984 kB / 274.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.01481, allocations: 340.6 kB / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01481, allocations: 0 / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.01503, allocations: 44.11 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.01504, allocations: 7.938 kB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01506, allocations: 4 kB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.01507, allocations: 4 kB / 275.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.01508, allocations: 12.06 kB / 275.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.01556, allocations: 380 kB / 275.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.0156, allocations: 19.78 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.01565, allocations: 8 kB / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.01579, allocations: 0 / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.01582, allocations: 20.02 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01584, allocations: 4 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.01595, allocations: 120.9 kB / 275.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01595, allocations: 0 / 275.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.01635, allocations: 51.95 kB / 275.8 MB, free: 13.76 MB / 266.7 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.0001588/0.01651, allocations: 111.1 kB / 276 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.01681, allocations: 127.8 kB / 276.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01681, allocations: 4 kB / 276.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.0169, allocations: 52.8 kB / 276.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.01746, allocations: 44.27 kB / 276.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01847, allocations: 0.506 MB / 276.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.01864, allocations: 125.1 kB / 276.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.01873, allocations: 21.62 kB / 276.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.01878, allocations: 16.5 kB / 276.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01878, allocations: 0 / 276.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Templates: time 0.004828/0.02361, allocations: 1.448 MB / 278.3 MB, free: 11.27 MB / 266.7 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.244868384907022]