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.001352/0.001352, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001408/0.001408, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.459/1.459, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001947/0.001947, allocations: 59.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09921, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00376/0.103, allocations: 2.278 MB / 430.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.1035, allocations: 195.3 kB / 430.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1036, allocations: 4 kB / 430.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.1037, allocations: 39.64 kB / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1039, allocations: 63.42 kB / 430.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.1041, allocations: 55.92 kB / 430.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1044, allocations: 231 kB / 430.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1046, allocations: 78.61 kB / 430.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1048, allocations: 95.64 kB / 430.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1049, allocations: 103.5 kB / 431 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.105, allocations: 20 kB / 431 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.105, allocations: 24 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1051, allocations: 47.84 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1052, allocations: 119.4 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1055, allocations: 251 kB / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1055, allocations: 0 / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1055, allocations: 0 / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1055, allocations: 4 kB / 431.4 MB, free: 0.9102 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.0008055/0.1063, allocations: 0.5095 MB / 431.9 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1064, allocations: 12.03 kB / 431.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.1064, allocations: 24.8 kB / 432 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1067, allocations: 220 kB / 432.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1067, allocations: 20.94 kB / 432.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1068, allocations: 28.33 kB / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.1072, allocations: 228.9 kB / 432.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1072, allocations: 4.172 kB / 432.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.1072, allocations: 11.94 kB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1073, allocations: 8 kB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.1075, allocations: 139.7 kB / 432.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1088, allocations: 0.8519 MB / 433.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.109, allocations: 159.7 kB / 433.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1091, allocations: 58.56 kB / 433.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1091, allocations: 0 / 433.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1092, allocations: 42.44 kB / 433.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.1092, allocations: 4 kB / 433.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004044/0.1096, allocations: 169.8 kB / 433.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1097, allocations: 102.8 kB / 434 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.1099, allocations: 198.7 kB / 434.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1099, allocations: 25.7 kB / 434.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.11, allocations: 164.1 kB / 434.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.1101, allocations: 63.48 kB / 434.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1102, allocations: 53.94 kB / 434.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1103, allocations: 334.8 kB / 434.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.1104, allocations: 44.55 kB / 434.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1106, allocations: 166.6 kB / 435 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.1109, allocations: 217.5 kB / 435.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1109, allocations: 7.938 kB / 435.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003904/0.1113, allocations: 237.2 kB / 435.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1113, allocations: 14.28 kB / 435.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1113, allocations: 4.438 kB / 435.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1113, allocations: 8 kB / 435.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.1116, allocations: 59.91 kB / 435.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1116, allocations: 4.781 kB / 435.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1117, allocations: 31.8 kB / 435.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1117, allocations: 16 kB / 435.6 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.0001302/0.1119, allocations: 145.7 kB / 435.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.112, allocations: 19.84 kB / 435.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.112, allocations: 25.39 kB / 435.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.112, allocations: 8 kB / 435.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.112, allocations: 0 / 435.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.112, allocations: 0 / 435.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.1126, allocations: 428.8 kB / 436.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1126, allocations: 0 / 436.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1128, allocations: 43.92 kB / 436.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1128, allocations: 0 / 436.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1129, allocations: 8.094 kB / 436.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1129, allocations: 0 / 436.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.1129, allocations: 4 kB / 436.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.1133, allocations: 381 kB / 436.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.1134, allocations: 97.3 kB / 436.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1134, allocations: 7.938 kB / 436.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1135, allocations: 4 kB / 436.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1136, allocations: 19.95 kB / 436.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.1136, allocations: 4 kB / 436.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1137, allocations: 139.2 kB / 436.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1137, allocations: 0 / 436.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.1141, allocations: 55.89 kB / 436.9 MB, free: 10.86 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.0001396/0.1142, allocations: 111.2 kB / 437.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1145, allocations: 131.8 kB / 437.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1145, allocations: 0 / 437.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.1146, allocations: 52.8 kB / 437.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.1151, allocations: 29.86 kB / 437.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1162, allocations: 0.6386 MB / 437.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1166, allocations: 0.732 MB / 438.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.1166, allocations: 19.44 kB / 438.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1166, allocations: 4 kB / 438.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Templates: time 0.004455/0.1211, allocations: 2.298 MB / 441 MB, free: 6.766 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.06280458602123]