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.001074/0.001074, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009995/0.0009997, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.7 MB / 247.5 MB, free: 11.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 8 kB / 308.4 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09857, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002303/0.1009, allocations: 1.947 MB / 361.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000459/0.1014, allocations: 191.2 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.1015, allocations: 4 kB / 362 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.1016, allocations: 31.72 kB / 362.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1017, allocations: 51.59 kB / 362.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.1019, allocations: 51.91 kB / 362.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1021, allocations: 223 kB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1023, allocations: 103.1 kB / 362.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.1024, allocations: 71.72 kB / 362.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1026, allocations: 95.55 kB / 362.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.1026, allocations: 12 kB / 362.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.1026, allocations: 12 kB / 362.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.1027, allocations: 39.8 kB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1028, allocations: 125.2 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.103, allocations: 191.7 kB / 363 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.103, allocations: 0 / 363 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.103, allocations: 0 / 363 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.103, allocations: 0 / 363 MB, free: 10.15 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.0006492/0.1037, allocations: 487.3 kB / 363.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1037, allocations: 8.031 kB / 363.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1038, allocations: 24.66 kB / 363.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.104, allocations: 218.4 kB / 363.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.104, allocations: 16.94 kB / 363.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1041, allocations: 28.38 kB / 363.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.1044, allocations: 228.8 kB / 364 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1045, allocations: 192 / 364 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1045, allocations: 15.94 kB / 364 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1045, allocations: 8 kB / 364 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1047, allocations: 131.9 kB / 364.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1058, allocations: 0.8595 MB / 365 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1061, allocations: 151.8 kB / 365.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.1062, allocations: 70.48 kB / 365.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1062, allocations: 4.312 kB / 365.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1062, allocations: 42.48 kB / 365.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.1062, allocations: 0 / 365.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003492/0.1066, allocations: 169.4 kB / 365.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1066, allocations: 110.8 kB / 365.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1068, allocations: 199 kB / 365.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1069, allocations: 37.7 kB / 365.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.107, allocations: 164 kB / 366 MB, free: 6.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.107, allocations: 63.11 kB / 366 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1071, allocations: 29.7 kB / 366 MB, free: 6.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1072, allocations: 326.8 kB / 366.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1073, allocations: 48.53 kB / 366.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1074, allocations: 155.6 kB / 366.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1077, allocations: 226.1 kB / 366.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1077, allocations: 0 / 366.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000359/0.1081, allocations: 249.2 kB / 367 MB, free: 5.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1081, allocations: 7.938 kB / 367 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1081, allocations: 4 kB / 367 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1082, allocations: 8 kB / 367 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1084, allocations: 63.91 kB / 367.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1084, allocations: 7.938 kB / 367.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1085, allocations: 31.62 kB / 367.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1085, allocations: 12.31 kB / 367.2 MB, free: 5.629 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.0001205/0.1087, allocations: 145.7 kB / 367.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.1088, allocations: 23.75 kB / 367.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.1088, allocations: 25.39 kB / 367.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1088, allocations: 0 / 367.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1088, allocations: 4 kB / 367.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1088, allocations: 0 / 367.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.1094, allocations: 424.9 kB / 367.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1094, allocations: 4 kB / 367.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1096, allocations: 39.92 kB / 367.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.1096, allocations: 4 kB / 367.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1096, allocations: 4 kB / 367.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1096, allocations: 4 kB / 367.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1096, allocations: 0 / 367.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.11, allocations: 384.5 kB / 368.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1101, allocations: 96.89 kB / 368.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1101, allocations: 8 kB / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1103, allocations: 0 / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1103, allocations: 19.92 kB / 368.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1103, allocations: 11.94 kB / 368.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1104, allocations: 139.2 kB / 368.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1104, allocations: 0 / 368.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1108, allocations: 51.94 kB / 368.5 MB, free: 4.152 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.1109, allocations: 99.19 kB / 368.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1112, allocations: 155.2 kB / 368.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1112, allocations: 0 / 368.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.1113, allocations: 51.86 kB / 368.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1118, allocations: 27.98 kB / 368.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1129, allocations: 0.7713 MB / 369.6 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1132, allocations: 0.7323 MB / 370.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.1133, allocations: 19.44 kB / 370.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1133, allocations: 0 / 370.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of Templates: time 0.1688/0.2821, allocations: 2.241 MB / 372.6 MB, free: 18.51 MB / 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 -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