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.0009871/0.0009871, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001012/0.001012, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9219/0.9219, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.754e-06/1.754e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.301e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003503/0.003536, allocations: 2.262 MB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005912/0.004127, allocations: 195.3 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.004248, allocations: 7.938 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.655e-05/0.004345, allocations: 39.64 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.004538, allocations: 67.36 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.004738, allocations: 55.86 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.004995, allocations: 242.8 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.005195, allocations: 71.02 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.005394, allocations: 147.7 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005533, allocations: 67.8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.005575, allocations: 20 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.00561, allocations: 24 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.005652, allocations: 55.81 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.354e-05/0.005736, allocations: 83.77 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005985, allocations: 159.4 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.005989, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00599, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.005998, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.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.0006517/0.00665, allocations: 0.5391 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.006694, allocations: 8.031 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.006809, allocations: 48.78 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.007059, allocations: 164.2 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.00708, allocations: 16.88 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.007129, allocations: 28.36 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.007436, allocations: 199.3 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.007452, allocations: 4.188 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.007475, allocations: 8.375 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.00749, allocations: 12.38 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.007664, allocations: 86.89 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.008669, allocations: 0.9111 MB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.008875, allocations: 157.3 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.008953, allocations: 51.05 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.008965, allocations: 4 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.008996, allocations: 41.39 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.008998, allocations: 0 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003354/0.009333, allocations: 141.6 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.009385, allocations: 106.8 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.009547, allocations: 226.8 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.009562, allocations: 29.7 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.009664, allocations: 210.9 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.009713, allocations: 67.42 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.009794, allocations: 59.59 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.009941, allocations: 0.4962 MB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.01, allocations: 24.55 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.01015, allocations: 188 kB / 280.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.0104, allocations: 226.8 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.01041, allocations: 7.938 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003316/0.01074, allocations: 218.3 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.01076, allocations: 12 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.01077, allocations: 8 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.01079, allocations: 4 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.01098, allocations: 59.91 kB / 280.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01099, allocations: 7.938 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.0111, allocations: 27.78 kB / 280.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01111, allocations: 16 kB / 280.8 MB, free: 9.273 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 9.914e-05/0.01121, allocations: 172.5 kB / 281 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.01128, allocations: 23.91 kB / 281 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.01133, allocations: 25.45 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01134, allocations: 4 kB / 281 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.01134, allocations: 3.938 kB / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01135, allocations: 0 / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.01182, allocations: 392.3 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01182, allocations: 4 kB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01198, allocations: 35.92 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.01199, allocations: 7.938 kB / 281.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.012, allocations: 4 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.012, allocations: 8.094 kB / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01201, allocations: 192 / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.01237, allocations: 443.8 kB / 281.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01239, allocations: 15.84 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.01242, allocations: 11.98 kB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01253, allocations: 4 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.01256, allocations: 11.98 kB / 281.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01256, allocations: 4 kB / 282 MB, free: 8.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.851e-05/0.01265, allocations: 160.8 kB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01265, allocations: 0 / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000368/0.01302, allocations: 59.89 kB / 282.2 MB, free: 7.816 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.00011/0.01313, allocations: 107.1 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.01337, allocations: 115.4 kB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01337, allocations: 0 / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.01343, allocations: 52.47 kB / 282.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.01389, allocations: 40.11 kB / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.01478, allocations: 0.5148 MB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.01485, allocations: 79.98 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.529e-05/0.01493, allocations: 21.62 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.01498, allocations: 20.5 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01498, allocations: 0 / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of Templates: time 0.004397/0.01938, allocations: 1.438 MB / 284.5 MB, free: 5.387 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8361939238384366]