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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.97 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09047, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003244/0.09375, allocations: 2.264 MB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.09413, allocations: 207.2 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.09422, allocations: 4 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.98e-05/0.09431, allocations: 31.66 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.09445, allocations: 59.42 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.09461, allocations: 55.86 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.09483, allocations: 231 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.09504, allocations: 126.4 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.09517, allocations: 91.72 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.0953, allocations: 103.5 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.09534, allocations: 24 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.271e-05/0.09538, allocations: 20 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.09544, allocations: 47.84 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.09553, allocations: 111.5 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.09577, allocations: 259.1 kB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09578, allocations: 0 / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09579, allocations: 0 / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.0958, allocations: 0 / 362.5 MB, free: 9.688 MB / 302.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.0007305/0.09653, allocations: 0.5032 MB / 363 MB, free: 9.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.09657, allocations: 8.031 kB / 363 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.09663, allocations: 28.59 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.09685, allocations: 216 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.09689, allocations: 20.94 kB / 363.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.09694, allocations: 28.28 kB / 363.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.0973, allocations: 228.8 kB / 363.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.09732, allocations: 192 / 363.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.09735, allocations: 19.92 kB / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.09736, allocations: 8 kB / 363.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.0976, allocations: 134.8 kB / 363.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.0987, allocations: 0.8556 MB / 364.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.09894, allocations: 167.7 kB / 364.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.09904, allocations: 66.55 kB / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.09906, allocations: 0 / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.0991, allocations: 42.5 kB / 364.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.163e-06/0.0991, allocations: 0 / 364.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003644/0.09947, allocations: 165.7 kB / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.09953, allocations: 106.8 kB / 365.1 MB, free: 6.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.09973, allocations: 206.9 kB / 365.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.09975, allocations: 25.7 kB / 365.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.09986, allocations: 164.1 kB / 365.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.09992, allocations: 63.11 kB / 365.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.1, allocations: 57.89 kB / 365.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1001, allocations: 330.8 kB / 365.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.1002, allocations: 44.55 kB / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1004, allocations: 159.6 kB / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1006, allocations: 217.5 kB / 366.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1006, allocations: 4 kB / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003386/0.1009, allocations: 237.1 kB / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.101, allocations: 12.38 kB / 366.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.101, allocations: 8.781 kB / 366.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.101, allocations: 4 kB / 366.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1012, allocations: 63.84 kB / 366.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1012, allocations: 4 kB / 366.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1014, allocations: 31.69 kB / 366.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.1014, allocations: 12 kB / 366.7 MB, free: 5.117 MB / 302.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.0001148/0.1015, allocations: 141.7 kB / 366.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.1016, allocations: 27.67 kB / 366.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.1016, allocations: 25.41 kB / 366.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1017, allocations: 4 kB / 366.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1017, allocations: 0 / 366.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1017, allocations: 4 kB / 366.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1022, allocations: 420.8 kB / 367.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1022, allocations: 0 / 367.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.1024, allocations: 39.98 kB / 367.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1024, allocations: 4.094 kB / 367.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1024, allocations: 4 kB / 367.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1024, allocations: 0 / 367.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1024, allocations: 4 kB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1028, allocations: 392.4 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1029, allocations: 96.86 kB / 367.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1029, allocations: 0 / 367.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.103, allocations: 12 kB / 367.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1031, allocations: 15.91 kB / 367.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1031, allocations: 12 kB / 367.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1032, allocations: 139.2 kB / 368 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1032, allocations: 0 / 368 MB, free: 3.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.1036, allocations: 55.84 kB / 368 MB, free: 3.633 MB / 302.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.0001096/0.1037, allocations: 103.2 kB / 368.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1039, allocations: 139.8 kB / 368.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1039, allocations: 0.875 kB / 368.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.104, allocations: 55.86 kB / 368.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1045, allocations: 36.39 kB / 368.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.1054, allocations: 0.594 MB / 369 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1057, allocations: 0.732 MB / 369.7 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.1057, allocations: 17.95 kB / 369.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1058, allocations: 23.44 kB / 369.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1058, allocations: 0 / 369.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of Templates: time 0.003821/0.1096, allocations: 1.517 MB / 371.3 MB, free: 368 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches