Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001741/0.001741, allocations: 74.27 kB / 21.24 MB, free: 0.5547 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.001417/0.001417, allocations: 159.4 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 50.97 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09488, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003411/0.09829, allocations: 2.141 MB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.0987, allocations: 191.3 kB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.09879, allocations: 4 kB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.72e-05/0.09887, allocations: 35.64 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.09903, allocations: 63.42 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.0992, allocations: 51.92 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.09947, allocations: 238.9 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.09966, allocations: 75.02 kB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.09977, allocations: 91.7 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.09992, allocations: 87.55 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.09997, allocations: 24 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.1, allocations: 24 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1001, allocations: 43.84 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1002, allocations: 99.58 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1005, allocations: 258.8 kB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1005, allocations: 0 / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1005, allocations: 0 / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1005, allocations: 0 / 382.3 MB, free: 12.25 MB / 350.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.0007218/0.1012, allocations: 445.8 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1012, allocations: 12.03 kB / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1013, allocations: 24.8 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1015, allocations: 165.1 kB / 382.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1015, allocations: 20.88 kB / 383 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1016, allocations: 20.38 kB / 383 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.102, allocations: 240 kB / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.102, allocations: 192 / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.102, allocations: 23.92 kB / 383.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.102, allocations: 7.938 kB / 383.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1023, allocations: 135.9 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1033, allocations: 0.7244 MB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1036, allocations: 151.7 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.1037, allocations: 58.56 kB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1037, allocations: 7.938 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1037, allocations: 38.56 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1037, allocations: 0 / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003917/0.1041, allocations: 174.2 kB / 384.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.1042, allocations: 106.8 kB / 384.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1044, allocations: 176.1 kB / 384.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1044, allocations: 33.7 kB / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1045, allocations: 164.2 kB / 385 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.1046, allocations: 71.42 kB / 385.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.1046, allocations: 49.94 kB / 385.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1048, allocations: 326.8 kB / 385.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1049, allocations: 52.55 kB / 385.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1051, allocations: 159.6 kB / 385.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1053, allocations: 221.5 kB / 385.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.1053, allocations: 4 kB / 385.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003709/0.1057, allocations: 233.5 kB / 386.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1057, allocations: 10.97 kB / 386.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1057, allocations: 7.938 kB / 386.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1058, allocations: 4 kB / 386.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.106, allocations: 59.92 kB / 386.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.106, allocations: 11.92 kB / 386.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1061, allocations: 23.84 kB / 386.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1061, allocations: 12 kB / 386.2 MB, free: 8.012 MB / 350.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 0.0001242/0.1063, allocations: 141.7 kB / 386.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1063, allocations: 24.03 kB / 386.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.1064, allocations: 25.39 kB / 386.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1064, allocations: 4 kB / 386.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1064, allocations: 0 / 386.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1064, allocations: 4 kB / 386.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.1069, allocations: 344.5 kB / 386.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1069, allocations: 4 kB / 386.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1071, allocations: 43.86 kB / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1071, allocations: 7.984 kB / 386.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1071, allocations: 4.094 kB / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1071, allocations: 4 kB / 386.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1071, allocations: 0 / 386.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.1075, allocations: 380.2 kB / 387.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.1076, allocations: 15.91 kB / 387.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1076, allocations: 4 kB / 387.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1077, allocations: 8.281 kB / 387.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1078, allocations: 16.02 kB / 387.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1078, allocations: 4 kB / 387.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1079, allocations: 120 kB / 387.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1079, allocations: 0 / 387.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.1083, allocations: 67.83 kB / 387.4 MB, free: 6.738 MB / 350.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 0.0001085/0.1084, allocations: 99.19 kB / 387.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1086, allocations: 132.2 kB / 387.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1086, allocations: 0.875 kB / 387.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.1087, allocations: 60.16 kB / 387.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.1092, allocations: 32.16 kB / 387.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.1102, allocations: 0.5837 MB / 388.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.1103, allocations: 125.2 kB / 388.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1104, allocations: 17.64 kB / 388.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.1105, allocations: 16.5 kB / 388.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1105, allocations: 4 kB / 388.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of Templates: time 0.00455/0.115, allocations: 1.406 MB / 389.9 MB, free: 4.223 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.266785577987321]