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.001063/0.001063, allocations: 80.06 kB / 21.43 MB, free: 3.117 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.003845/0.003845, allocations: 142.2 kB / 24.68 MB, free: 8.922 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.8468/0.8468, allocations: 173.4 MB / 201.2 MB, free: 9.445 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 1.693e-06/1.693e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.215e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002086/0.002108, allocations: 2.126 MB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.002429, allocations: 191.2 kB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.002502, allocations: 8 kB / 322 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.781e-05/0.00257, allocations: 39.64 kB / 322 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.002683, allocations: 63.36 kB / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.002822, allocations: 51.92 kB / 322.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.002984, allocations: 250.7 kB / 322.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.003133, allocations: 75 kB / 322.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003257, allocations: 143.7 kB / 322.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.003353, allocations: 75.78 kB / 322.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.003388, allocations: 20 kB / 322.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.003411, allocations: 20 kB / 322.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.003443, allocations: 47.83 kB / 322.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.003494, allocations: 75.83 kB / 322.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.003713, allocations: 263.1 kB / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003714, allocations: 0 / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.003716, allocations: 0 / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003719, allocations: 0 / 323.1 MB, free: 2.418 MB / 282.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.000484/0.004203, allocations: 445.7 kB / 323.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004237, allocations: 12.92 kB / 323.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.00428, allocations: 28.78 kB / 323.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.004432, allocations: 157.5 kB / 323.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004446, allocations: 16.88 kB / 323.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.004477, allocations: 24.38 kB / 323.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.004731, allocations: 236 kB / 324 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.004745, allocations: 8.141 kB / 324 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.00476, allocations: 12.31 kB / 324 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004766, allocations: 4.375 kB / 324 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.004922, allocations: 139.8 kB / 324.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.005586, allocations: 0.7201 MB / 324.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.00574, allocations: 155.8 kB / 325 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.005804, allocations: 66.81 kB / 325.1 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.005815, allocations: 7.984 kB / 325.1 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.00583, allocations: 30.56 kB / 325.1 MB, free: 220 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.005831, allocations: 0 / 325.1 MB, free: 220 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002506/0.006082, allocations: 161.5 kB / 325.3 MB, free: 52 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.006134, allocations: 114.7 kB / 325.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.006503, allocations: 175.6 kB / 325.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006516, allocations: 29.7 kB / 325.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.006584, allocations: 168.1 kB / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.006618, allocations: 67.44 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.006664, allocations: 49.98 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.006736, allocations: 322.8 kB / 326.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.006793, allocations: 52.53 kB / 326.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.006891, allocations: 159 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.00706, allocations: 221.5 kB / 326.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007062, allocations: 0 / 326.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002187/0.007281, allocations: 249.9 kB / 326.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.007294, allocations: 8 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007299, allocations: 0 / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007311, allocations: 8 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.007434, allocations: 63.91 kB / 326.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.007443, allocations: 11.88 kB / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.007509, allocations: 28.22 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.007519, allocations: 16 kB / 327 MB, free: 14.18 MB / 298.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.431e-05/0.007593, allocations: 133.8 kB / 327.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.007627, allocations: 15.91 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.007656, allocations: 25.45 kB / 327.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007659, allocations: 4 kB / 327.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.007664, allocations: 3.938 kB / 327.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007668, allocations: 4 kB / 327.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.007961, allocations: 336.6 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007963, allocations: 8.031 kB / 327.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.008065, allocations: 39.92 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.008069, allocations: 7.938 kB / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.00808, allocations: 8 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008082, allocations: 4.078 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008084, allocations: 3.984 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.008331, allocations: 373.3 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.00835, allocations: 31.89 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.00837, allocations: 4 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.008439, allocations: 4 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.008458, allocations: 11.98 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.008463, allocations: 8 kB / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.008517, allocations: 124.9 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008517, allocations: 0 / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.008734, allocations: 59.89 kB / 328.2 MB, free: 12.92 MB / 298.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 7.278e-05/0.008807, allocations: 103.2 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.008972, allocations: 135.2 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008974, allocations: 4.125 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.009021, allocations: 59.84 kB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.009328, allocations: 31.83 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.009919, allocations: 0.5154 MB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.01, allocations: 129.2 kB / 329.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01004, allocations: 20.5 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.01004, allocations: 0 / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Templates: time 0.002499/0.01254, allocations: 2.323 MB / 331.5 MB, free: 9.535 MB / 298.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.256022003479302]