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.001976/0.001976, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002276/0.002276, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001594/0.001594, allocations: 55.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2205, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003408/0.2239, allocations: 2.127 MB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003968/0.2243, allocations: 195.3 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2244, allocations: 7.938 kB / 434.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.371e-05/0.2245, allocations: 35.64 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2247, allocations: 67.41 kB / 434.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2248, allocations: 51.94 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.2251, allocations: 235 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2253, allocations: 82.67 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2254, allocations: 91.66 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2256, allocations: 111.5 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2256, allocations: 20 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.074e-05/0.2257, allocations: 27.94 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2257, allocations: 47.84 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2258, allocations: 91.59 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.2262, allocations: 265.9 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2262, allocations: 0 / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2262, allocations: 0 / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2262, allocations: 0 / 435.8 MB, free: 3.289 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.0007092/0.2269, allocations: 441.8 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.2269, allocations: 8.031 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.227, allocations: 28.8 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2272, allocations: 166.1 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2272, allocations: 16.88 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.2273, allocations: 28.36 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.2276, allocations: 228.1 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2277, allocations: 192 / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.2277, allocations: 15.94 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2277, allocations: 8 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.2279, allocations: 127.9 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.229, allocations: 0.732 MB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2292, allocations: 143.7 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.2293, allocations: 62.55 kB / 437.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2293, allocations: 4 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2294, allocations: 42.5 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2294, allocations: 0 / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003864/0.2298, allocations: 165.7 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.2298, allocations: 106.8 kB / 438 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.23, allocations: 179.5 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.23, allocations: 25.7 kB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2301, allocations: 172.1 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.2302, allocations: 63.44 kB / 438.5 MB, free: 352 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.2303, allocations: 61.88 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2304, allocations: 326.8 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.2305, allocations: 48.55 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2307, allocations: 159.6 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.231, allocations: 218.2 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.231, allocations: 0 / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003848/0.2314, allocations: 249.7 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2314, allocations: 8 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2314, allocations: 7.938 kB / 439.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2314, allocations: 7.984 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2316, allocations: 59.91 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.2317, allocations: 15.94 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2318, allocations: 27.78 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2318, allocations: 12 kB / 439.7 MB, free: 15.05 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.0001308/0.2319, allocations: 141.7 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.232, allocations: 20 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2321, allocations: 29.33 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2321, allocations: 4 kB / 439.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2321, allocations: 0 / 439.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2321, allocations: 0 / 439.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.2326, allocations: 344.5 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2326, allocations: 0 / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.2328, allocations: 39.92 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2328, allocations: 0 / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2328, allocations: 8 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2328, allocations: 4.094 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2328, allocations: 4 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.2332, allocations: 377.1 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.2333, allocations: 23.88 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.2333, allocations: 4 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2334, allocations: 4 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.2335, allocations: 11.98 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.2335, allocations: 4 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.2336, allocations: 124 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2336, allocations: 0 / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.2339, allocations: 59.83 kB / 440.8 MB, free: 13.79 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.0001073/0.234, allocations: 111.1 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.2343, allocations: 131.8 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2343, allocations: 0 / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.2344, allocations: 52.8 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2348, allocations: 28.17 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.2358, allocations: 0.5955 MB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2359, allocations: 125.2 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.236, allocations: 17.64 kB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2361, allocations: 19.44 kB / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2361, allocations: 0 / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Templates: time 0.004581/0.2406, allocations: 1.718 MB / 443.6 MB, free: 10.96 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 -s gbode -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.196751310999389]