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.001404/0.001404, allocations: 114 kB / 16.63 MB, free: 6.812 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.001632/0.001632, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009678/0.0009679, allocations: 55.34 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08536, allocations: 49.45 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002951/0.08834, allocations: 2.293 MB / 351.9 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.08869, allocations: 191.3 kB / 352.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.08878, allocations: 4 kB / 352.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.035e-05/0.08888, allocations: 31.83 kB / 352.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.08902, allocations: 55.47 kB / 352.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.08917, allocations: 47.97 kB / 352.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.08938, allocations: 231 kB / 352.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.08959, allocations: 110.6 kB / 352.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.08969, allocations: 91.66 kB / 352.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.08982, allocations: 103.5 kB / 352.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.08985, allocations: 20 kB / 352.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.674e-05/0.0899, allocations: 28 kB / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.08994, allocations: 43.84 kB / 352.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.09004, allocations: 115.5 kB / 352.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.09026, allocations: 255.3 kB / 353.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09027, allocations: 0 / 353.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09028, allocations: 0 / 353.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.09029, allocations: 3.984 kB / 353.2 MB, free: 1.145 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.0006112/0.09091, allocations: 0.4993 MB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.09095, allocations: 8.031 kB / 353.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.09101, allocations: 28.66 kB / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.0912, allocations: 223.9 kB / 353.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.09122, allocations: 16.94 kB / 353.9 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.09127, allocations: 24.38 kB / 354 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.09161, allocations: 228.9 kB / 354.2 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.09164, allocations: 4.094 kB / 354.2 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.09167, allocations: 15.94 kB / 354.2 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.09168, allocations: 4 kB / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.09191, allocations: 135.9 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.09292, allocations: 0.8594 MB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.09314, allocations: 151.7 kB / 355.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.09324, allocations: 58.56 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.09326, allocations: 4 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.09329, allocations: 46.44 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.725e-06/0.0933, allocations: 3.984 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000363/0.09367, allocations: 165.7 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.09374, allocations: 110.8 kB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.09393, allocations: 194.6 kB / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.09396, allocations: 33.64 kB / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.09407, allocations: 163.7 kB / 356.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.09412, allocations: 71.02 kB / 356.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.0942, allocations: 53.89 kB / 356.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.09432, allocations: 326.8 kB / 356.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.09441, allocations: 48.53 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.09459, allocations: 159.6 kB / 356.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.09484, allocations: 226.2 kB / 357 MB, free: 12.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.09485, allocations: 0 / 357 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003458/0.0952, allocations: 249.4 kB / 357.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.09523, allocations: 15.06 kB / 357.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.09524, allocations: 4 kB / 357.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.09526, allocations: 4 kB / 357.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.09547, allocations: 59.92 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.09548, allocations: 7.984 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.09562, allocations: 27.69 kB / 357.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.09564, allocations: 12 kB / 357.4 MB, free: 12.58 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.0001084/0.09575, allocations: 153.7 kB / 357.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.09582, allocations: 19.75 kB / 357.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.09588, allocations: 25.39 kB / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.09589, allocations: 4 kB / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.0959, allocations: 0 / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.09591, allocations: 0 / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.09639, allocations: 416.9 kB / 358 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.09641, allocations: 12.08 kB / 358 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.0966, allocations: 35.92 kB / 358 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.09661, allocations: 4 kB / 358 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.09664, allocations: 8 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.09665, allocations: 4 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.09665, allocations: 0 / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.09699, allocations: 377 kB / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.09706, allocations: 100.8 kB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.09709, allocations: 8 kB / 358.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.09724, allocations: 8 kB / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.09727, allocations: 11.92 kB / 358.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.09728, allocations: 4 kB / 358.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.09739, allocations: 152.2 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0974, allocations: 0 / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.09776, allocations: 51.94 kB / 358.7 MB, free: 11.1 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 8.913e-05/0.09785, allocations: 103.2 kB / 358.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.0981, allocations: 144.4 kB / 359 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09811, allocations: 0 / 359 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.0982, allocations: 63.97 kB / 359 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.09866, allocations: 32.7 kB / 359.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/0.09959, allocations: 0.6619 MB / 359.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.09985, allocations: 0.7397 MB / 360.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.09995, allocations: 21.94 kB / 360.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.1, allocations: 19.44 kB / 360.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1, allocations: 0 / 360.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of Templates: time 0.003818/0.1038, allocations: 1.526 MB / 362 MB, free: 7.734 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches