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.001907/0.001907, allocations: 116.2 kB / 21.94 MB, free: 8 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.002547/0.002547, allocations: 200.8 kB / 25.23 MB, free: 3.574 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.595/1.595, allocations: 207.6 MB / 236 MB, free: 9.988 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.002087/0.002087, allocations: 58.58 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00357/0.308, allocations: 2.259 MB / 399.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006006/0.3086, allocations: 199.4 kB / 400.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3087, allocations: 5.281 kB / 400.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3088, allocations: 34.89 kB / 400.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.309, allocations: 59.11 kB / 400.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3092, allocations: 49.94 kB / 400.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.3096, allocations: 232 kB / 400.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3098, allocations: 91.64 kB / 400.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.31, allocations: 100.8 kB / 400.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3102, allocations: 100.8 kB / 400.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.3102, allocations: 21.41 kB / 400.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.3103, allocations: 21.38 kB / 400.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.3103, allocations: 45.98 kB / 400.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3105, allocations: 113.6 kB / 400.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.3108, allocations: 255.7 kB / 401.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3108, allocations: 1.375 kB / 401.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3108, allocations: 0 / 401.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3109, allocations: 0 / 401.2 MB, free: 7.215 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.0006893/0.3115, allocations: 449.5 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3116, allocations: 13.05 kB / 401.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.3116, allocations: 28.47 kB / 401.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3119, allocations: 169.7 kB / 401.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3119, allocations: 14.66 kB / 401.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.3119, allocations: 23.09 kB / 401.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.3123, allocations: 233 kB / 402.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3123, allocations: 1.953 kB / 402.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.3124, allocations: 10.44 kB / 402.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3124, allocations: 6 kB / 402.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.3126, allocations: 139.8 kB / 402.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3139, allocations: 0.8245 MB / 403 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3141, allocations: 152.1 kB / 403.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.3142, allocations: 58.06 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3142, allocations: 5.891 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3142, allocations: 49.56 kB / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.3142, allocations: 0 / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003721/0.3146, allocations: 161.8 kB / 403.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3146, allocations: 106.2 kB / 403.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3148, allocations: 201.9 kB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3148, allocations: 30.7 kB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.3149, allocations: 164.9 kB / 404 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.315, allocations: 69.98 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.315, allocations: 51.75 kB / 404.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.3151, allocations: 330.1 kB / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.3152, allocations: 48.14 kB / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3153, allocations: 157.7 kB / 404.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.3155, allocations: 223.3 kB / 404.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3155, allocations: 1.344 kB / 404.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003474/0.3159, allocations: 246 kB / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3159, allocations: 15.34 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3159, allocations: 8.375 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3159, allocations: 4.812 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3162, allocations: 58.23 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.3162, allocations: 6.562 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3163, allocations: 28.44 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3163, allocations: 18.12 kB / 405.2 MB, free: 4.109 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.244e-05/0.3164, allocations: 134.6 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.3165, allocations: 24.53 kB / 405.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.3166, allocations: 24.56 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3166, allocations: 2.906 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3166, allocations: 1.469 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3166, allocations: 1.547 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.317, allocations: 395.9 kB / 405.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.317, allocations: 96 / 405.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3172, allocations: 48.55 kB / 405.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3172, allocations: 1.562 kB / 405.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3172, allocations: 10.97 kB / 405.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3173, allocations: 3.312 kB / 405.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3173, allocations: 1.812 kB / 405.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3176, allocations: 375.2 kB / 406.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.3176, allocations: 22.61 kB / 406.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3176, allocations: 4.047 kB / 406.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3178, allocations: 6.219 kB / 406.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3178, allocations: 13.59 kB / 406.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3178, allocations: 9.719 kB / 406.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.3179, allocations: 135.6 kB / 406.4 MB, free: 3.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3179, allocations: 4 kB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.3183, allocations: 53.73 kB / 406.4 MB, free: 3.148 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.5e-05/0.3184, allocations: 103.5 kB / 406.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3186, allocations: 145.5 kB / 406.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3186, allocations: 0 / 406.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.3187, allocations: 53.34 kB / 406.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3192, allocations: 33.5 kB / 406.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.3201, allocations: 0.6305 MB / 407.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3203, allocations: 0.7358 MB / 408.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3204, allocations: 23.75 kB / 408.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3204, allocations: 0 / 408.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Templates: time 0.004985/0.3254, allocations: 2.303 MB / 410.5 MB, free: 1.352 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.238262654049322]