Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 108.8 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 43.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00351/0.2456, allocations: 2.277 MB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.2461, allocations: 203.3 kB / 426.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.2461, allocations: 4 kB / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.964e-05/0.2462, allocations: 35.64 kB / 426.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.2464, allocations: 63.42 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.2465, allocations: 43.94 kB / 426.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.2468, allocations: 242.9 kB / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.247, allocations: 83 kB / 426.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2471, allocations: 99.64 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2472, allocations: 99.55 kB / 427 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.2473, allocations: 24 kB / 427 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.2473, allocations: 20 kB / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.2474, allocations: 43.84 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2475, allocations: 115.5 kB / 427.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2478, allocations: 260.2 kB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2478, allocations: 4 kB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2478, allocations: 0 / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2478, allocations: 0 / 427.5 MB, free: 11.09 MB / 334.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.0006862/0.2485, allocations: 445.8 kB / 427.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2485, allocations: 8.031 kB / 427.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.2486, allocations: 24.8 kB / 427.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.2488, allocations: 166.1 kB / 428.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.2488, allocations: 20.88 kB / 428.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.2489, allocations: 24.38 kB / 428.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.2492, allocations: 224.1 kB / 428.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2493, allocations: 4.125 kB / 428.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2493, allocations: 15.94 kB / 428.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2493, allocations: 4 kB / 428.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.2495, allocations: 131.9 kB / 428.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2507, allocations: 0.821 MB / 429.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.2509, allocations: 151.9 kB / 429.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/0.251, allocations: 58.56 kB / 429.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.251, allocations: 0 / 429.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.251, allocations: 46.44 kB / 429.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.251, allocations: 0 / 429.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003889/0.2514, allocations: 169.6 kB / 429.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.2515, allocations: 114.8 kB / 429.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2517, allocations: 195.5 kB / 430 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2517, allocations: 29.7 kB / 430.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2518, allocations: 156.2 kB / 430.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.2519, allocations: 71.42 kB / 430.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.2519, allocations: 53.95 kB / 430.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2521, allocations: 330.8 kB / 430.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.2522, allocations: 52.48 kB / 430.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2523, allocations: 163.5 kB / 430.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2526, allocations: 222.2 kB / 431.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2526, allocations: 3.938 kB / 431.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003578/0.253, allocations: 241.7 kB / 431.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.253, allocations: 10.44 kB / 431.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.253, allocations: 8 kB / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.253, allocations: 8 kB / 431.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2532, allocations: 55.92 kB / 431.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2533, allocations: 15.92 kB / 431.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2534, allocations: 23.84 kB / 431.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2534, allocations: 12 kB / 431.5 MB, free: 6.727 MB / 334.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.0001238/0.2535, allocations: 141.7 kB / 431.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.2536, allocations: 23.98 kB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2537, allocations: 33.39 kB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2537, allocations: 3.984 kB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2537, allocations: 0 / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2537, allocations: 4 kB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.2542, allocations: 387.9 kB / 432.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2542, allocations: 0 / 432.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.2544, allocations: 44.02 kB / 432.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2544, allocations: 11.98 kB / 432.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2544, allocations: 0 / 432.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.2545, allocations: 4 kB / 432.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2545, allocations: 0 / 432.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.2549, allocations: 381.1 kB / 432.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.2549, allocations: 15.86 kB / 432.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.2549, allocations: 8 kB / 432.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2551, allocations: 4.031 kB / 432.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.2551, allocations: 19.92 kB / 432.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.2551, allocations: 4 kB / 432.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2552, allocations: 140.4 kB / 432.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2552, allocations: 3.938 kB / 432.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.2556, allocations: 55.89 kB / 432.7 MB, free: 5.375 MB / 334.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.0001072/0.2557, allocations: 106.7 kB / 432.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.256, allocations: 135.7 kB / 433 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.256, allocations: 0.875 kB / 433 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.256, allocations: 52.05 kB / 433 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.2565, allocations: 35.98 kB / 433.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2575, allocations: 0.6361 MB / 433.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.2579, allocations: 0.732 MB / 434.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.2579, allocations: 19.44 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2579, allocations: 0 / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Templates: time 0.004274/0.2622, allocations: 2.313 MB / 436.8 MB, free: 1.277 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.925542572978884]