Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009233/0.0009233, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009699/0.0009699, allocations: 101.1 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.0002341, allocations: 4 kB / 360.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1994, allocations: 51.41 MB / 412 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00201/0.2015, allocations: 1.884 MB / 413.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.2018, allocations: 206.8 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.2019, allocations: 4 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.202, allocations: 27.77 kB / 414.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2021, allocations: 57.02 kB / 414.2 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2023, allocations: 45.08 kB / 414.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2025, allocations: 220.8 kB / 414.5 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2027, allocations: 94.98 kB / 414.6 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.2028, allocations: 83.64 kB / 414.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2029, allocations: 87.56 kB / 414.7 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.203, allocations: 12 kB / 414.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.094e-05/0.203, allocations: 12 kB / 414.8 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.203, allocations: 39.84 kB / 414.8 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.2031, allocations: 129.2 kB / 414.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2033, allocations: 236.6 kB / 415.2 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2034, allocations: 0 / 415.2 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2034, allocations: 4 kB / 415.2 MB, free: 22.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2034, allocations: 0 / 415.2 MB, free: 22.81 MB / 298.7 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.0005464/0.2039, allocations: 475.3 kB / 415.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.204, allocations: 12.03 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.204, allocations: 24.66 kB / 415.7 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2042, allocations: 223.9 kB / 415.9 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2042, allocations: 20.94 kB / 415.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2043, allocations: 16.38 kB / 415.9 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2046, allocations: 236.8 kB / 416.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2046, allocations: 8.125 kB / 416.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.2047, allocations: 11.94 kB / 416.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2047, allocations: 11.98 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2049, allocations: 127.9 kB / 416.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.2058, allocations: 0.8598 MB / 417.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.206, allocations: 151.7 kB / 417.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.206, allocations: 58.56 kB / 417.4 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2061, allocations: 4 kB / 417.4 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2061, allocations: 54.67 kB / 417.4 MB, free: 20.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.2061, allocations: 0 / 417.4 MB, free: 20.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002946/0.2064, allocations: 169.8 kB / 417.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2064, allocations: 106.8 kB / 417.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2066, allocations: 191.1 kB / 417.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.2066, allocations: 25.7 kB / 417.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.2067, allocations: 163.8 kB / 418.1 MB, free: 19.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2067, allocations: 63.09 kB / 418.1 MB, free: 19.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/0.2067, allocations: 8 kB / 418.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2068, allocations: 326.8 kB / 418.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.2069, allocations: 56.47 kB / 418.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.207, allocations: 150.8 kB / 418.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.2072, allocations: 217.5 kB / 418.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2072, allocations: 3.938 kB / 418.9 MB, free: 18.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002712/0.2075, allocations: 241 kB / 419.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2075, allocations: 12.38 kB / 419.1 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2075, allocations: 12 kB / 419.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2075, allocations: 4 kB / 419.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2077, allocations: 59.91 kB / 419.2 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2077, allocations: 11.94 kB / 419.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2078, allocations: 27.69 kB / 419.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2079, allocations: 12 kB / 419.2 MB, free: 18.34 MB / 298.7 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 7.557e-05/0.2079, allocations: 137.7 kB / 419.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.208, allocations: 19.75 kB / 419.4 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.2081, allocations: 33.39 kB / 419.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2081, allocations: 0 / 419.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2081, allocations: 0 / 419.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2081, allocations: 4 kB / 419.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.2085, allocations: 424.8 kB / 419.8 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2085, allocations: 0 / 419.8 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2087, allocations: 40.11 kB / 419.9 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2087, allocations: 4.094 kB / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2087, allocations: 8 kB / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2087, allocations: 0 / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2087, allocations: 7.984 kB / 419.9 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.209, allocations: 374.2 kB / 420.3 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.2091, allocations: 108.8 kB / 420.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.2091, allocations: 0 / 420.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2092, allocations: 8 kB / 420.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.2093, allocations: 11.92 kB / 420.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2093, allocations: 8 kB / 420.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.378e-05/0.2094, allocations: 139.1 kB / 420.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2094, allocations: 0 / 420.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.2097, allocations: 55.91 kB / 420.6 MB, free: 16.88 MB / 298.7 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 7.622e-05/0.2098, allocations: 111.1 kB / 420.7 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.21, allocations: 140.2 kB / 420.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.21, allocations: 0 / 420.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.21, allocations: 57.09 kB / 420.9 MB, free: 16.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2105, allocations: 36.11 kB / 420.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.2112, allocations: 0.742 MB / 421.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2114, allocations: 0.7323 MB / 422.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.2115, allocations: 17.94 kB / 422.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.2116, allocations: 23.44 kB / 422.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2116, allocations: 0 / 422.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Templates: time 0.003314/0.2149, allocations: 1.443 MB / 423.9 MB, free: 13.51 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches