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.001304/0.001304, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1967, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003176/0.2, allocations: 2.258 MB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004248/0.2004, allocations: 187.3 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2005, allocations: 8 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.435e-05/0.2006, allocations: 39.64 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.2008, allocations: 55.42 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.201, allocations: 55.88 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.2012, allocations: 242.9 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2014, allocations: 110.5 kB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2015, allocations: 95.64 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2017, allocations: 95.56 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.2017, allocations: 24 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.2018, allocations: 24 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2018, allocations: 47.83 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2019, allocations: 115.5 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2022, allocations: 248.2 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2022, allocations: 8 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2022, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2022, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.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.0006742/0.2029, allocations: 0.507 MB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2029, allocations: 8.031 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.203, allocations: 28.66 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2032, allocations: 220 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2032, allocations: 16.94 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.2033, allocations: 20.38 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.2036, allocations: 248.8 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2037, allocations: 192 / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2037, allocations: 11.94 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2037, allocations: 4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.2039, allocations: 131.9 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.205, allocations: 0.8558 MB / 415.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.2052, allocations: 167.9 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.2053, allocations: 62.55 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2053, allocations: 4 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2054, allocations: 46.44 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.2054, allocations: 0 / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003541/0.2057, allocations: 165.5 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2058, allocations: 110.8 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.206, allocations: 195.2 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.206, allocations: 25.7 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.2061, allocations: 167.7 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.2061, allocations: 59.11 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.2062, allocations: 45.98 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2063, allocations: 330.8 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.2064, allocations: 52.55 kB / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2066, allocations: 152.2 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2069, allocations: 221.5 kB / 417.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2069, allocations: 0 / 417.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003547/0.2072, allocations: 257.6 kB / 417.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2072, allocations: 11.94 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2073, allocations: 4 kB / 417.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2073, allocations: 4.438 kB / 417.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2075, allocations: 59.91 kB / 417.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2075, allocations: 8 kB / 417.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2077, allocations: 27.69 kB / 417.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2077, allocations: 16 kB / 417.7 MB, free: 9.414 MB / 334.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.0001036/0.2078, allocations: 141.7 kB / 417.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.2079, allocations: 19.75 kB / 417.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.2079, allocations: 25.39 kB / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2079, allocations: 0 / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.208, allocations: 0 / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.208, allocations: 104.8 kB / 418 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2081, allocations: 4 kB / 418 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2082, allocations: 4 kB / 418 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.2083, allocations: 11.98 kB / 418 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004298/0.2087, allocations: 395.4 kB / 418.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003974/0.2091, allocations: 0.501 MB / 418.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.169e-05/0.2092, allocations: 52.02 kB / 418.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2093, allocations: 139.2 kB / 419.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of Backend: time 3.51e-07/0.2093, allocations: 0 / 419.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.2099, allocations: 178.2 kB / 419.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.001088/0.211, allocations: 1.019 MB / 420.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of Templates: time 0.004575/0.2156, allocations: 1.966 MB / 422.2 MB, free: 4.777 MB / 334.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