Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 75.28 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 62.45 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.1001, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00366/0.1037, allocations: 2.148 MB / 381.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.1042, allocations: 191.3 kB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.1043, allocations: 11.94 kB / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.271e-05/0.1044, allocations: 39.64 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1046, allocations: 55.42 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.1047, allocations: 59.92 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.105, allocations: 227 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.1052, allocations: 79 kB / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1053, allocations: 91.72 kB / 381.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1055, allocations: 83.55 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1055, allocations: 23.94 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.1056, allocations: 20 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1056, allocations: 47.84 kB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1057, allocations: 99.58 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.106, allocations: 258.9 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.106, allocations: 4 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.106, allocations: 0 / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.106, allocations: 0 / 382.3 MB, free: 12.07 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.0007502/0.1068, allocations: 441.8 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1068, allocations: 15.98 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.1069, allocations: 24.8 kB / 382.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1071, allocations: 166.2 kB / 382.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1072, allocations: 16.88 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.1072, allocations: 28.31 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.1076, allocations: 236 kB / 383.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1076, allocations: 192 / 383.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.1077, allocations: 15.94 kB / 383.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1077, allocations: 7.984 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1079, allocations: 131.2 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.109, allocations: 0.7399 MB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1093, allocations: 147.7 kB / 384.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.1094, allocations: 54.56 kB / 384.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1094, allocations: 4 kB / 384.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1094, allocations: 42.48 kB / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.1094, allocations: 0 / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003849/0.1098, allocations: 173.7 kB / 384.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.1099, allocations: 110.8 kB / 384.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.11, allocations: 171.2 kB / 384.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1101, allocations: 25.7 kB / 384.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1102, allocations: 172.2 kB / 385 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1102, allocations: 67.42 kB / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.1103, allocations: 57.94 kB / 385.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1105, allocations: 326.8 kB / 385.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.1105, allocations: 44.53 kB / 385.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1107, allocations: 159.8 kB / 385.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.111, allocations: 222.2 kB / 385.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.111, allocations: 4 kB / 385.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003809/0.1114, allocations: 245.2 kB / 386.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1114, allocations: 4 kB / 386.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1114, allocations: 8.375 kB / 386.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1114, allocations: 4 kB / 386.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1117, allocations: 67.91 kB / 386.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1117, allocations: 8 kB / 386.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1118, allocations: 27.84 kB / 386.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1118, allocations: 8 kB / 386.2 MB, free: 7.824 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.0001276/0.1119, allocations: 145.7 kB / 386.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.112, allocations: 15.91 kB / 386.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.1121, allocations: 29.39 kB / 386.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1121, allocations: 4 kB / 386.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1121, allocations: 3.938 kB / 386.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1121, allocations: 4 kB / 386.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1126, allocations: 348.5 kB / 386.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1126, allocations: 0 / 386.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.1128, allocations: 35.98 kB / 386.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1128, allocations: 3.938 kB / 386.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1128, allocations: 8 kB / 386.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1128, allocations: 4 kB / 386.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1128, allocations: 0 / 386.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.1132, allocations: 377.1 kB / 387.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.1132, allocations: 20.03 kB / 387.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1133, allocations: 4 kB / 387.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1134, allocations: 4 kB / 387.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.1134, allocations: 11.98 kB / 387.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1134, allocations: 8 kB / 387.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.1135, allocations: 120 kB / 387.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1135, allocations: 0 / 387.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1139, allocations: 55.83 kB / 387.4 MB, free: 6.566 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.0001115/0.114, allocations: 107.1 kB / 387.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1143, allocations: 138.6 kB / 387.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1143, allocations: 0 / 387.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.1143, allocations: 47.92 kB / 387.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.1148, allocations: 25.05 kB / 387.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.1158, allocations: 0.5964 MB / 388.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.116, allocations: 129.2 kB / 388.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.116, allocations: 21.62 kB / 388.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.1161, allocations: 16.5 kB / 388.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1161, allocations: 0 / 388.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.004474/0.1206, allocations: 1.402 MB / 389.9 MB, free: 4.047 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.245181103004143]