Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2184, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003388/0.2218, allocations: 2.123 MB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.2222, allocations: 207.2 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.2223, allocations: 8 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.056e-05/0.2224, allocations: 35.64 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2225, allocations: 59.42 kB / 434.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.2227, allocations: 51.94 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2229, allocations: 238.9 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2231, allocations: 85.91 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.2232, allocations: 95.66 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2234, allocations: 103.5 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.2234, allocations: 20 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.2235, allocations: 20 kB / 435.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.2235, allocations: 47.84 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.849e-05/0.2236, allocations: 91.59 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2239, allocations: 266.7 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2239, allocations: 0 / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2239, allocations: 0 / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2239, allocations: 0 / 435.8 MB, free: 3.305 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.0007198/0.2246, allocations: 441.8 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2247, allocations: 8.031 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.2247, allocations: 24.8 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.2249, allocations: 170.1 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.225, allocations: 16.88 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.225, allocations: 28.36 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.2254, allocations: 232 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2254, allocations: 192 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2255, allocations: 11.94 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2255, allocations: 8 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2257, allocations: 127.9 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.2268, allocations: 0.7359 MB / 437.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.227, allocations: 151.7 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2272, allocations: 62.81 kB / 437.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2272, allocations: 4 kB / 437.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2272, allocations: 38.55 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.2272, allocations: 0 / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003781/0.2276, allocations: 165.4 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.2276, allocations: 106.8 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2278, allocations: 183.4 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2278, allocations: 25.7 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2279, allocations: 172.1 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.228, allocations: 67.38 kB / 438.5 MB, free: 352 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.2281, allocations: 57.94 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2282, allocations: 326.8 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.2283, allocations: 44.55 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2285, allocations: 155.6 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2288, allocations: 225.5 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2288, allocations: 0 / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003818/0.2292, allocations: 237.8 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2292, allocations: 8 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2292, allocations: 8.375 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2292, allocations: 11.94 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2295, allocations: 59.91 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2295, allocations: 12.08 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2296, allocations: 31.78 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2296, allocations: 16 kB / 439.7 MB, free: 15.06 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.0001187/0.2298, allocations: 137.8 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.2298, allocations: 19.89 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.2299, allocations: 25.34 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2299, allocations: 0 / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2299, allocations: 4 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.2299, allocations: 23.83 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.23, allocations: 0 / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2301, allocations: 8 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.2301, allocations: 7.984 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004785/0.2306, allocations: 387.3 kB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004691/0.2311, allocations: 0.5031 MB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.553e-05/0.2312, allocations: 48.02 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.2313, allocations: 120 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Backend: time 2e-07/0.2313, allocations: 4 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.2319, allocations: 178.1 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 0.001239/0.2331, allocations: 1.027 MB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Templates: time 0.005627/0.2388, allocations: 2.249 MB / 444.4 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.297320191006293]