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.001293/0.001293, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.0008754/0.0008754, allocations: 139.9 kB / 24.89 MB, free: 8.789 MB / 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 0.8967/0.8967, allocations: 173.4 MB / 201.5 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 4 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.371e-05, allocations: 3.812 kB / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.0024/0.002423, allocations: 2.221 MB / 270.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.002899, allocations: 217.8 kB / 270.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.002981, allocations: 4.5 kB / 270.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.003047, allocations: 37.3 kB / 270.9 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.003187, allocations: 67.3 kB / 271 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.003335, allocations: 52.98 kB / 271.1 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.003511, allocations: 243.5 kB / 271.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.00365, allocations: 77.58 kB / 271.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003789, allocations: 144.3 kB / 271.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.003898, allocations: 76.41 kB / 271.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.003927, allocations: 20 kB / 271.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.00395, allocations: 25.84 kB / 271.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.003983, allocations: 43.83 kB / 271.7 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.00404, allocations: 79.83 kB / 271.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004223, allocations: 163.3 kB / 271.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004225, allocations: 0 / 271.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004225, allocations: 1.438 kB / 271.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004229, allocations: 3.938 kB / 271.9 MB, free: 6.34 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.0004151/0.004644, allocations: 427.7 kB / 272.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.004673, allocations: 8.031 kB / 272.3 MB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.004718, allocations: 32.91 kB / 272.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004859, allocations: 148.7 kB / 272.5 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.004874, allocations: 17.88 kB / 272.5 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.004904, allocations: 20.38 kB / 272.6 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.005083, allocations: 192 kB / 272.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.005093, allocations: 0.6875 kB / 272.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005105, allocations: 8.375 kB / 272.8 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005113, allocations: 8.375 kB / 272.8 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.005196, allocations: 67.83 kB / 272.8 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.00582, allocations: 0.6675 MB / 273.5 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.005935, allocations: 103.9 kB / 273.6 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.005973, allocations: 38.56 kB / 273.6 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.005982, allocations: 4 kB / 273.6 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.006004, allocations: 46.55 kB / 273.7 MB, free: 4.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.006006, allocations: 0 / 273.7 MB, free: 4.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001748/0.006181, allocations: 110.1 kB / 273.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.006223, allocations: 106.8 kB / 273.9 MB, free: 4.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.006318, allocations: 169.3 kB / 274.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.00633, allocations: 33.7 kB / 274.1 MB, free: 3.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.006393, allocations: 156.1 kB / 274.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.006428, allocations: 75.39 kB / 274.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.006478, allocations: 45.97 kB / 274.4 MB, free: 3.688 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.006549, allocations: 326.8 kB / 274.7 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.006577, allocations: 28.55 kB / 274.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.006653, allocations: 126.8 kB / 274.8 MB, free: 3.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.006787, allocations: 185.6 kB / 275 MB, free: 2.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00679, allocations: 0 / 275 MB, free: 2.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001689/0.006959, allocations: 173.6 kB / 275.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.006973, allocations: 4 kB / 275.2 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.00698, allocations: 4 kB / 275.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006994, allocations: 11.94 kB / 275.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.007117, allocations: 59.91 kB / 275.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.007125, allocations: 11.94 kB / 275.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.007193, allocations: 27.78 kB / 275.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.007202, allocations: 8 kB / 275.3 MB, free: 2.629 MB / 250.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 7.488e-05/0.007276, allocations: 125.7 kB / 275.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.007317, allocations: 24.08 kB / 275.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.007354, allocations: 21.45 kB / 275.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007356, allocations: 0 / 275.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007359, allocations: 4 kB / 275.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.007364, allocations: 3.938 kB / 275.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.007636, allocations: 269.2 kB / 275.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007638, allocations: 4 kB / 275.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.007738, allocations: 35.92 kB / 275.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.00774, allocations: 4 kB / 275.8 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.00775, allocations: 8.094 kB / 275.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.007753, allocations: 7.938 kB / 275.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007754, allocations: 0 / 275.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.007933, allocations: 311.1 kB / 276.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.007949, allocations: 15.84 kB / 276.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007966, allocations: 11.92 kB / 276.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.00803, allocations: 4 kB / 276.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.008047, allocations: 11.98 kB / 276.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.008054, allocations: 8 kB / 276.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.985e-05/0.008083, allocations: 42.44 kB / 276.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008083, allocations: 8 kB / 276.2 MB, free: 1.652 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.008293, allocations: 55.89 kB / 276.3 MB, free: 1.598 MB / 250.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 8.453e-05/0.008377, allocations: 80.36 kB / 276.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.008503, allocations: 108.5 kB / 276.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.008509, allocations: 0.875 kB / 276.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.008543, allocations: 45.52 kB / 276.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.008774, allocations: 36.12 kB / 276.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.009285, allocations: 450.5 kB / 277 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.009344, allocations: 83.97 kB / 277.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.0094, allocations: 17.64 kB / 277.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.009476, allocations: 79.3 kB / 277.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009477, allocations: 0 / 277.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of Templates: time 0.003214/0.01269, allocations: 1.564 MB / 278.7 MB, free: 15.12 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",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.593150020111352]