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.002132/0.002132, allocations: 117.6 kB / 18.5 MB, free: 4.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.002587/0.002587, allocations: 201 kB / 21.45 MB, free: 1.59 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.566/1.566, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.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.00205/0.00205, allocations: 59.91 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.1003, allocations: 53.32 MB / 427.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003613/0.104, allocations: 2.274 MB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.1045, allocations: 199.2 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1047, allocations: 4 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1048, allocations: 31.66 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.105, allocations: 63.36 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1052, allocations: 59.91 kB / 429.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1055, allocations: 235 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1057, allocations: 82.59 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1058, allocations: 87.72 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.106, allocations: 99.55 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.106, allocations: 20 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.1061, allocations: 27.94 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.1061, allocations: 43.84 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1063, allocations: 119.5 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1066, allocations: 247 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1066, allocations: 7.938 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1066, allocations: 4 kB / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1066, allocations: 4 kB / 430.7 MB, free: 0.9023 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.0008325/0.1074, allocations: 0.499 MB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1075, allocations: 12.03 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1075, allocations: 28.8 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1078, allocations: 220 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1078, allocations: 16.94 kB / 431.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.1079, allocations: 24.33 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.1083, allocations: 236.8 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1083, allocations: 4.172 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1084, allocations: 15.94 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1084, allocations: 4 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.1086, allocations: 139.8 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1099, allocations: 0.8557 MB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1101, allocations: 159.7 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.1102, allocations: 58.55 kB / 433 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1102, allocations: 0 / 433 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1103, allocations: 46.5 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 9.42e-07/0.1103, allocations: 0 / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000377/0.1107, allocations: 169.7 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.1107, allocations: 102.8 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1109, allocations: 194.7 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.111, allocations: 29.7 kB / 433.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1111, allocations: 168.1 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.1111, allocations: 59.48 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.1112, allocations: 57.94 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1114, allocations: 330.8 kB / 434.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1115, allocations: 44.55 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1117, allocations: 170.6 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.112, allocations: 217.5 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.112, allocations: 4 kB / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003883/0.1124, allocations: 233.6 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1124, allocations: 11.94 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1124, allocations: 4.781 kB / 434.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1124, allocations: 7.938 kB / 434.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1127, allocations: 63.91 kB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1127, allocations: 4 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1128, allocations: 31.8 kB / 434.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1128, allocations: 12 kB / 434.9 MB, free: 12.34 MB / 366.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.0001313/0.113, allocations: 145.8 kB / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.113, allocations: 19.84 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.1131, allocations: 21.41 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1131, allocations: 4 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1131, allocations: 0 / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1131, allocations: 3.984 kB / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.1137, allocations: 432.8 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1137, allocations: 4.094 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.1139, allocations: 35.98 kB / 435.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1139, allocations: 0 / 435.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1139, allocations: 8 kB / 435.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1139, allocations: 0 / 435.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.1139, allocations: 11.92 kB / 435.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.1143, allocations: 377.1 kB / 435.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.1144, allocations: 97.02 kB / 436 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1144, allocations: 0 / 436 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1146, allocations: 15.94 kB / 436 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1146, allocations: 15.91 kB / 436.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1146, allocations: 4 kB / 436.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1148, allocations: 147.2 kB / 436.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1148, allocations: 0 / 436.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.1151, allocations: 55.89 kB / 436.3 MB, free: 10.84 MB / 366.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.0001417/0.1153, allocations: 99.25 kB / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1156, allocations: 136.4 kB / 436.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1156, allocations: 192 / 436.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.1157, allocations: 59.86 kB / 436.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.1163, allocations: 38.23 kB / 436.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1175, allocations: 0.6021 MB / 437.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1179, allocations: 0.7359 MB / 437.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.118, allocations: 21.89 kB / 437.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.118, allocations: 19.44 kB / 438 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.118, allocations: 0 / 438 MB, free: 9.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004901/0.1229, allocations: 1.591 MB / 439.6 MB, free: 7.492 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/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.6016780054196715]