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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008664, allocations: 97.11 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 182.5 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002852, allocations: 5.906 kB / 300.7 MB, free: 6.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09287, allocations: 50.43 MB / 351.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.001911/0.09482, allocations: 1.805 MB / 352.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.09517, allocations: 203.3 kB / 353.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.09524, allocations: 4 kB / 353.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.0953, allocations: 27.83 kB / 353.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.09543, allocations: 63.78 kB / 353.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.09556, allocations: 43.95 kB / 353.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.09574, allocations: 155.7 kB / 353.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.09591, allocations: 89.8 kB / 353.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.096, allocations: 71.72 kB / 353.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.09613, allocations: 83.62 kB / 353.7 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.09617, allocations: 12 kB / 353.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.09621, allocations: 12 kB / 353.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.09625, allocations: 39.83 kB / 353.7 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.09631, allocations: 73.58 kB / 353.8 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.09649, allocations: 183.5 kB / 354 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.0965, allocations: 0 / 354 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09651, allocations: 0 / 354 MB, free: 9.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.09654, allocations: 0 / 354 MB, free: 9.008 MB / 286.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.0006477/0.09719, allocations: 479.2 kB / 354.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.09724, allocations: 8.031 kB / 354.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.0973, allocations: 31.67 kB / 354.5 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.09755, allocations: 218.7 kB / 354.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.09758, allocations: 16.56 kB / 354.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.09764, allocations: 24 kB / 354.7 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.09803, allocations: 228.3 kB / 355 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.09806, allocations: 4 kB / 355 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.09809, allocations: 8 kB / 355 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.0981, allocations: 4 kB / 355 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.09834, allocations: 143.7 kB / 355.1 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.09939, allocations: 0.856 MB / 356 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.09961, allocations: 159.9 kB / 356.1 MB, free: 6.664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.09962, allocations: 160 / 356.1 MB, free: 6.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.09965, allocations: 38.55 kB / 356.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 9.21e-07/0.09966, allocations: 0 / 356.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003222/0.09998, allocations: 165.2 kB / 356.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1, allocations: 110.8 kB / 356.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1002, allocations: 202.2 kB / 356.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1002, allocations: 25.7 kB / 356.7 MB, free: 6.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.1003, allocations: 163.7 kB / 356.8 MB, free: 5.914 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1004, allocations: 67.09 kB / 356.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.1004, allocations: 7.938 kB / 356.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1005, allocations: 330.8 kB / 357.2 MB, free: 5.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.1006, allocations: 48.55 kB / 357.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1007, allocations: 154.7 kB / 357.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1008, allocations: 72.56 kB / 357.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1008, allocations: 4 kB / 357.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003095/0.1012, allocations: 241.1 kB / 357.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1012, allocations: 8 kB / 357.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1012, allocations: 4.438 kB / 357.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1012, allocations: 8 kB / 357.7 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1014, allocations: 59.91 kB / 357.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1014, allocations: 7.938 kB / 357.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1015, allocations: 31.69 kB / 357.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1016, allocations: 12 kB / 357.9 MB, free: 4.812 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.1017, allocations: 137.7 kB / 358 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.1017, allocations: 19.81 kB / 358 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1018, allocations: 25.39 kB / 358 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1018, allocations: 8 kB / 358 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1018, allocations: 0 / 358 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1018, allocations: 192 / 358 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1023, allocations: 424.8 kB / 358.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1023, allocations: 3.984 kB / 358.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.1025, allocations: 39.92 kB / 358.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1025, allocations: 0 / 358.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1025, allocations: 12.09 kB / 358.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1025, allocations: 0 / 358.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1025, allocations: 4 kB / 358.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.1029, allocations: 426.6 kB / 358.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.103, allocations: 101 kB / 359 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.103, allocations: 3.938 kB / 359 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1031, allocations: 8 kB / 359 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.1032, allocations: 11.98 kB / 359.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1032, allocations: 8 kB / 359.1 MB, free: 3.465 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.1033, allocations: 144.3 kB / 359.2 MB, free: 3.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1033, allocations: 0 / 359.2 MB, free: 3.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1036, allocations: 55.94 kB / 359.3 MB, free: 3.27 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.667e-05/0.1037, allocations: 105.5 kB / 359.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1039, allocations: 144.3 kB / 359.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1039, allocations: 4.25 kB / 359.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.104, allocations: 51.92 kB / 359.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1043, allocations: 28.12 kB / 359.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.1053, allocations: 0.7149 MB / 360.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1056, allocations: 0.7401 MB / 361 MB, free: 1.414 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.1057, allocations: 21.95 kB / 361.1 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1057, allocations: 15.44 kB / 361.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1057, allocations: 0 / 361.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of Templates: time 0.003526/0.1092, allocations: 1.387 MB / 362.5 MB, free: 15.99 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches