Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009843/0.0009843, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001126/0.001126, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9763/0.9763, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 251.4 MB, free: 7.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.743e-05, allocations: 2.312 kB / 251.4 MB, free: 7.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003298/0.003325, allocations: 2.232 MB / 253.7 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.003776, allocations: 183.3 kB / 253.9 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.00388, allocations: 12 kB / 253.9 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.363e-05/0.003963, allocations: 39.64 kB / 253.9 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.004125, allocations: 59.36 kB / 254 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.004289, allocations: 59.8 kB / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.004523, allocations: 242.8 kB / 254.3 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.004719, allocations: 71.02 kB / 254.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.004918, allocations: 147.7 kB / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.005067, allocations: 71.78 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.005106, allocations: 24 kB / 254.6 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.005141, allocations: 20 kB / 254.6 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.005189, allocations: 55.81 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.00527, allocations: 75.83 kB / 254.7 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005492, allocations: 159.4 kB / 254.9 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005494, allocations: 0 / 254.9 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005495, allocations: 4 kB / 254.9 MB, free: 3.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005499, allocations: 3.938 kB / 254.9 MB, free: 3.906 MB / 234.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.0006298/0.006129, allocations: 0.5352 MB / 255.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.006178, allocations: 15.97 kB / 255.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.006252, allocations: 40.8 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006468, allocations: 172.2 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.006489, allocations: 16.88 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.006532, allocations: 20.38 kB / 255.7 MB, free: 3.039 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.006784, allocations: 195.3 kB / 255.9 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.006799, allocations: 4.188 kB / 255.9 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.006817, allocations: 12.38 kB / 255.9 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.006826, allocations: 4.375 kB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.006952, allocations: 79.53 kB / 256 MB, free: 2.734 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.007837, allocations: 0.9188 MB / 256.9 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.00801, allocations: 133.3 kB / 257 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.008071, allocations: 55.19 kB / 257.1 MB, free: 1.531 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.008084, allocations: 7.938 kB / 257.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.008114, allocations: 41.39 kB / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.008116, allocations: 0 / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002666/0.008382, allocations: 125.5 kB / 257.2 MB, free: 1.344 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.008436, allocations: 114.7 kB / 257.4 MB, free: 1.207 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.008583, allocations: 222.8 kB / 257.6 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.0086, allocations: 29.7 kB / 257.6 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.008707, allocations: 206.9 kB / 257.8 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.008757, allocations: 75.41 kB / 257.9 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.008836, allocations: 67.56 kB / 257.9 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.009007, allocations: 0.4962 MB / 258.4 MB, free: 68 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.009051, allocations: 20.55 kB / 258.5 MB, free: 48 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.009209, allocations: 176 kB / 258.6 MB, free: 15.81 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.009427, allocations: 219.3 kB / 258.8 MB, free: 15.53 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.009432, allocations: 4 kB / 258.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002767/0.009709, allocations: 201.2 kB / 259 MB, free: 15.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.009726, allocations: 7.938 kB / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.009736, allocations: 4 kB / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.009755, allocations: 8 kB / 259.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.009931, allocations: 55.92 kB / 259.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.009941, allocations: 15.92 kB / 259.1 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01005, allocations: 32.16 kB / 259.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.01006, allocations: 12 kB / 259.2 MB, free: 15.19 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 0.0001162/0.01018, allocations: 172.5 kB / 259.3 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.01024, allocations: 23.91 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.01029, allocations: 25.39 kB / 259.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01029, allocations: 4 kB / 259.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0103, allocations: 3.938 kB / 259.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0103, allocations: 0 / 259.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.01071, allocations: 357 kB / 259.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01071, allocations: 0 / 259.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.01085, allocations: 40.08 kB / 259.8 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01086, allocations: 0 / 259.8 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01087, allocations: 11.94 kB / 259.8 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01088, allocations: 7.938 kB / 259.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01088, allocations: 0 / 259.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.0112, allocations: 430 kB / 260.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.01123, allocations: 19.84 kB / 260.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01125, allocations: 11.94 kB / 260.3 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.01136, allocations: 4 kB / 260.3 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.01138, allocations: 15.92 kB / 260.3 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01139, allocations: 8 kB / 260.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.01147, allocations: 160.8 kB / 260.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01147, allocations: 0 / 260.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.01183, allocations: 55.89 kB / 260.5 MB, free: 13.77 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 9.583e-05/0.01193, allocations: 99.25 kB / 260.6 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01211, allocations: 104.2 kB / 260.7 MB, free: 13.56 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01211, allocations: 4.062 kB / 260.7 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.01217, allocations: 55.58 kB / 260.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.01257, allocations: 32.66 kB / 260.8 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.0133, allocations: 0.5152 MB / 261.3 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.01337, allocations: 75.98 kB / 261.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.01344, allocations: 17.64 kB / 261.4 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01354, allocations: 98.19 kB / 261.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01355, allocations: 4 kB / 261.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of Templates: time 0.004399/0.01794, allocations: 1.56 MB / 263.1 MB, free: 11.15 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6227861531078815]