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.0009773/0.0009773, allocations: 89.89 kB / 21.43 MB, free: 3.059 MB / 18.57 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.00107/0.00107, allocations: 166.2 kB / 24.82 MB, free: 9.195 MB / 18.57 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.053/1.053, allocations: 177 MB / 205.1 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.694e-06/1.694e-06, allocations: 3.938 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.682e-05, allocations: 2.312 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003124/0.003141, allocations: 2.247 MB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000424/0.003565, allocations: 199.2 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.003665, allocations: 8 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/0.003749, allocations: 43.64 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.003908, allocations: 59.36 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.004062, allocations: 51.92 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.004313, allocations: 246.8 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.004491, allocations: 71.02 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.00465, allocations: 139.8 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004751, allocations: 75.77 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.004778, allocations: 28 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.0048, allocations: 20 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.004833, allocations: 51.83 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.004886, allocations: 75.83 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.005151, allocations: 159.4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005153, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005153, allocations: 4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.005156, allocations: 3.938 kB / 276.8 MB, free: 13.71 MB / 266.7 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.0004341/0.00559, allocations: 0.5391 MB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.005621, allocations: 11.98 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.005669, allocations: 40.8 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.005796, allocations: 168.2 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.005809, allocations: 12.88 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.005835, allocations: 24.38 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.006006, allocations: 191.3 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.006017, allocations: 8.172 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.00603, allocations: 12.38 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.006037, allocations: 4.375 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.006118, allocations: 78.27 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.006745, allocations: 0.9188 MB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.006857, allocations: 137.3 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.006901, allocations: 51.05 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006911, allocations: 7.984 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006931, allocations: 41.39 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.006933, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001856/0.007118, allocations: 130 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.007153, allocations: 110.8 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.007252, allocations: 222.7 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.007263, allocations: 29.7 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.007334, allocations: 206.9 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.007369, allocations: 71.41 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.007425, allocations: 63.58 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.007763, allocations: 0.504 MB / 280.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.007791, allocations: 20.55 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.007882, allocations: 175.9 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.008019, allocations: 218.9 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008021, allocations: 4 kB / 280.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001752/0.008197, allocations: 201.3 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.008207, allocations: 4 kB / 280.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008212, allocations: 4 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008224, allocations: 8 kB / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.008336, allocations: 59.91 kB / 281 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.008344, allocations: 15.88 kB / 281 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.008411, allocations: 27.78 kB / 281 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.00842, allocations: 8 kB / 281.1 MB, free: 9.008 MB / 266.7 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 6.846e-05/0.008488, allocations: 172.8 kB / 281.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.008533, allocations: 31.89 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.008563, allocations: 17.47 kB / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008566, allocations: 4 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.00857, allocations: 3.938 kB / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008573, allocations: 0 / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.008838, allocations: 360.9 kB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008839, allocations: 0 / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.008934, allocations: 43.91 kB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008936, allocations: 8.031 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.008946, allocations: 11.94 kB / 281.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008948, allocations: 4 kB / 281.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008949, allocations: 0 / 281.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.009158, allocations: 425.9 kB / 282.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.009173, allocations: 19.84 kB / 282.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.009187, allocations: 7.938 kB / 282.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.009253, allocations: 7.984 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.009269, allocations: 11.98 kB / 282.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.009274, allocations: 4 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.009323, allocations: 156.8 kB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009323, allocations: 0 / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000275/0.009598, allocations: 55.89 kB / 282.4 MB, free: 7.602 MB / 266.7 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 6.635e-05/0.009664, allocations: 103.2 kB / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.009788, allocations: 108.1 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.00979, allocations: 192 / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.009825, allocations: 52.17 kB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01009, allocations: 47.03 kB / 282.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.0106, allocations: 0.5192 MB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.01065, allocations: 79.98 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.0107, allocations: 21.62 kB / 283.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.01078, allocations: 94.19 kB / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01078, allocations: 0 / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of Templates: time 0.002879/0.01366, allocations: 1.569 MB / 285 MB, free: 4.961 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5258423308841884]