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.007247/0.007247, allocations: 94.7 kB / 21.93 MB, free: 5.715 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.001839/0.001839, allocations: 214.8 kB / 25.22 MB, free: 3.285 MB / 14.72 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 1.613/1.613, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 54.73 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003495/0.3305, allocations: 2.119 MB / 399.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.3309, allocations: 196.1 kB / 399.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.331, allocations: 4.719 kB / 399.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.167e-05/0.3311, allocations: 35.09 kB / 399.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.3313, allocations: 66.12 kB / 400 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3315, allocations: 52.61 kB / 400.1 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3318, allocations: 238.2 kB / 400.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.332, allocations: 75.06 kB / 400.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3321, allocations: 90.73 kB / 400.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3323, allocations: 88.94 kB / 400.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3323, allocations: 20.81 kB / 400.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.3324, allocations: 20.53 kB / 400.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3324, allocations: 46.16 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3325, allocations: 96.5 kB / 400.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3329, allocations: 255.8 kB / 401 MB, free: 7.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3329, allocations: 1.906 kB / 401 MB, free: 7.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3329, allocations: 0 / 401 MB, free: 7.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3329, allocations: 0 / 401 MB, free: 7.305 MB / 318.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.0006914/0.3336, allocations: 453.5 kB / 401.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3336, allocations: 12.8 kB / 401.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.3337, allocations: 24.83 kB / 401.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3339, allocations: 167.2 kB / 401.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3339, allocations: 17.47 kB / 401.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.334, allocations: 19.78 kB / 401.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.3344, allocations: 236 kB / 401.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3344, allocations: 192 / 401.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3344, allocations: 18.12 kB / 401.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3344, allocations: 5.844 kB / 401.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.3347, allocations: 132.1 kB / 402 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.3357, allocations: 0.7226 MB / 402.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3359, allocations: 161.1 kB / 402.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.336, allocations: 53.34 kB / 403 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.336, allocations: 6.406 kB / 403 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.336, allocations: 34.2 kB / 403 MB, free: 5.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.336, allocations: 0 / 403 MB, free: 5.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003798/0.3364, allocations: 177.4 kB / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3365, allocations: 109.7 kB / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3366, allocations: 177 kB / 403.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3366, allocations: 31.05 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.3367, allocations: 165 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.3368, allocations: 66.36 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.3368, allocations: 52.95 kB / 403.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.3369, allocations: 326.6 kB / 404.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.337, allocations: 49.08 kB / 404.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3371, allocations: 161.5 kB / 404.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3373, allocations: 227.5 kB / 404.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3373, allocations: 1.094 kB / 404.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003311/0.3377, allocations: 238.7 kB / 404.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3377, allocations: 7.156 kB / 404.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3377, allocations: 12.03 kB / 404.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.3377, allocations: 5.438 kB / 404.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.3379, allocations: 60.86 kB / 404.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3379, allocations: 5.75 kB / 404.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3381, allocations: 23.97 kB / 404.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3381, allocations: 14.12 kB / 404.9 MB, free: 4.297 MB / 318.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 9.538e-05/0.3382, allocations: 142.9 kB / 405 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.3383, allocations: 16.12 kB / 405 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.3383, allocations: 22.88 kB / 405 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3383, allocations: 2.344 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3383, allocations: 5.219 kB / 405.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3383, allocations: 6.312 kB / 405.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3387, allocations: 348.6 kB / 405.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3387, allocations: 6.391 kB / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.3389, allocations: 38.09 kB / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3389, allocations: 2.562 kB / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.339, allocations: 7.906 kB / 405.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.339, allocations: 1.531 kB / 405.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.339, allocations: 1.562 kB / 405.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3393, allocations: 373.6 kB / 405.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3393, allocations: 19.72 kB / 405.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3394, allocations: 6.469 kB / 405.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3395, allocations: 1.438 kB / 405.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.3395, allocations: 15.48 kB / 405.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3395, allocations: 9.203 kB / 405.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.3396, allocations: 119.9 kB / 406 MB, free: 3.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 406 MB, free: 3.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00037/0.34, allocations: 60.8 kB / 406.1 MB, free: 3.375 MB / 318.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 9.261e-05/0.3401, allocations: 102.2 kB / 406.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3403, allocations: 144.9 kB / 406.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3403, allocations: 0 / 406.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.3404, allocations: 56.48 kB / 406.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.3409, allocations: 24.81 kB / 406.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.3418, allocations: 0.6289 MB / 407 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3419, allocations: 123 kB / 407.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.342, allocations: 19.47 kB / 407.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.342, allocations: 0 / 407.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Templates: time 0.005476/0.3475, allocations: 2.32 MB / 409.5 MB, free: 2.23 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.5062671969644725]