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.001816/0.001816, allocations: 103.6 kB / 21.18 MB, free: 320 kB / 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.002296/0.002296, allocations: 214.8 kB / 24.48 MB, free: 3.535 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.525/1.525, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001884/0.001884, allocations: 52.44 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3351, allocations: 49.16 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003002/0.3381, allocations: 2.106 MB / 399 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.3385, allocations: 199.5 kB / 399.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.3385, allocations: 4.469 kB / 399.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.3386, allocations: 35.58 kB / 399.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.3388, allocations: 66.48 kB / 399.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.339, allocations: 54.22 kB / 399.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.3392, allocations: 234.7 kB / 399.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3394, allocations: 77.11 kB / 399.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3395, allocations: 97.25 kB / 399.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3397, allocations: 85.2 kB / 399.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.3397, allocations: 21.91 kB / 399.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.3398, allocations: 20.22 kB / 399.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3398, allocations: 46.28 kB / 399.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.3399, allocations: 97.38 kB / 400 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.3402, allocations: 259.5 kB / 400.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3402, allocations: 1.438 kB / 400.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3402, allocations: 0 / 400.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3403, allocations: 0 / 400.2 MB, free: 7.293 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.0006205/0.3409, allocations: 448.5 kB / 400.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3409, allocations: 14.56 kB / 400.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.341, allocations: 24.36 kB / 400.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3411, allocations: 162 kB / 400.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3412, allocations: 18.12 kB / 400.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3412, allocations: 19.34 kB / 400.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3416, allocations: 235.1 kB / 401.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3416, allocations: 1.312 kB / 401.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3416, allocations: 14.84 kB / 401.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3416, allocations: 5.844 kB / 401.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.3418, allocations: 133.2 kB / 401.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.3427, allocations: 0.7238 MB / 402 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.343, allocations: 159.4 kB / 402.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.343, allocations: 58.78 kB / 402.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3431, allocations: 3.281 kB / 402.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.3431, allocations: 33.16 kB / 402.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.3431, allocations: 4 kB / 402.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003316/0.3434, allocations: 168.3 kB / 402.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3434, allocations: 110.5 kB / 402.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3436, allocations: 181.4 kB / 402.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3436, allocations: 34.67 kB / 402.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.3436, allocations: 166.2 kB / 402.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.3437, allocations: 64.89 kB / 403 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.3438, allocations: 52.11 kB / 403 MB, free: 5.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.3438, allocations: 328.8 kB / 403.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.3439, allocations: 51.98 kB / 403.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.344, allocations: 161.3 kB / 403.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3443, allocations: 228.1 kB / 403.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3443, allocations: 1.312 kB / 403.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003454/0.3446, allocations: 238.3 kB / 404 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3446, allocations: 7.375 kB / 404 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3446, allocations: 11.81 kB / 404 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.3447, allocations: 4.875 kB / 404 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3449, allocations: 57.66 kB / 404.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3449, allocations: 9.375 kB / 404.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.345, allocations: 23.59 kB / 404.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.345, allocations: 14.28 kB / 404.1 MB, free: 4.285 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.806e-05/0.3451, allocations: 143 kB / 404.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.3452, allocations: 15.81 kB / 404.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.3452, allocations: 28.77 kB / 404.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3453, allocations: 10.45 kB / 404.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3453, allocations: 0 / 404.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3453, allocations: 2.781 kB / 404.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.3457, allocations: 335.9 kB / 404.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3457, allocations: 1.219 kB / 404.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.3459, allocations: 40.09 kB / 404.7 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3459, allocations: 2.031 kB / 404.7 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3459, allocations: 6.406 kB / 404.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3459, allocations: 2.062 kB / 404.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3459, allocations: 6.938 kB / 404.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.3462, allocations: 369.8 kB / 405.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.3463, allocations: 18.14 kB / 405.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3463, allocations: 7.844 kB / 405.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3464, allocations: 5.531 kB / 405.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3465, allocations: 10.22 kB / 405.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3465, allocations: 10.44 kB / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.302e-05/0.3466, allocations: 122.7 kB / 405.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3466, allocations: 0.9062 kB / 405.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.3469, allocations: 61.45 kB / 405.3 MB, free: 3.371 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 8.382e-05/0.347, allocations: 101.3 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3473, allocations: 144.9 kB / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3473, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.3473, allocations: 61.95 kB / 405.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3479, allocations: 31.25 kB / 405.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.3487, allocations: 0.5968 MB / 406.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3488, allocations: 124.1 kB / 406.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.3489, allocations: 19.44 kB / 406.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.349, allocations: 16.53 kB / 406.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.349, allocations: 0 / 406.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of Templates: time 0.005055/0.354, allocations: 1.622 MB / 408 MB, free: 2.398 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/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: 4.727641362696886]