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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009945/0.0009944, allocations: 113 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009297/0.0009297, allocations: 51.91 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1988, allocations: 50.44 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002577/0.2014, allocations: 2.304 MB / 409.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.2017, allocations: 214 kB / 409.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.2018, allocations: 4 kB / 409.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.691e-05/0.2019, allocations: 31.77 kB / 409.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.202, allocations: 53.03 kB / 409.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2021, allocations: 39.97 kB / 409.7 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2023, allocations: 234.9 kB / 409.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2025, allocations: 91.23 kB / 410 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.2025, allocations: 87.72 kB / 410.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2026, allocations: 95.55 kB / 410.2 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2027, allocations: 16 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.2027, allocations: 16 kB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.2027, allocations: 47.83 kB / 410.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.2028, allocations: 107.5 kB / 410.4 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.203, allocations: 244.7 kB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.203, allocations: 0 / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.203, allocations: 0 / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.203, allocations: 0 / 410.6 MB, free: 24.27 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.0005671/0.2036, allocations: 0.511 MB / 411.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2036, allocations: 8.594 kB / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.2037, allocations: 24.66 kB / 411.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2038, allocations: 216.7 kB / 411.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2039, allocations: 20.94 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2039, allocations: 24.38 kB / 411.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.2042, allocations: 236.8 kB / 411.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2042, allocations: 4.094 kB / 411.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.2042, allocations: 15.94 kB / 411.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2042, allocations: 4 kB / 411.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2044, allocations: 132.7 kB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.2053, allocations: 0.8559 MB / 412.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2054, allocations: 159.7 kB / 412.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.2055, allocations: 66.5 kB / 412.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2055, allocations: 4 kB / 412.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.2056, allocations: 34.5 kB / 412.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.2056, allocations: 0 / 412.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000296/0.2059, allocations: 177.6 kB / 413.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2059, allocations: 110.8 kB / 413.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.206, allocations: 203 kB / 413.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.2061, allocations: 29.7 kB / 413.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2061, allocations: 159.7 kB / 413.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.2062, allocations: 63.09 kB / 413.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.2062, allocations: 53.89 kB / 413.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.2063, allocations: 334.8 kB / 414 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.2064, allocations: 48.55 kB / 414 MB, free: 20.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.2065, allocations: 150.8 kB / 414.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2066, allocations: 229.5 kB / 414.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2067, allocations: 0 / 414.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002726/0.2069, allocations: 245.2 kB / 414.7 MB, free: 19.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2069, allocations: 7.938 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.207, allocations: 4 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.207, allocations: 8 kB / 414.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.2072, allocations: 59.91 kB / 414.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2072, allocations: 7.938 kB / 414.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2073, allocations: 28.09 kB / 414.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.2073, allocations: 20.78 kB / 414.8 MB, free: 19.69 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.268e-05/0.2074, allocations: 139.2 kB / 414.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.2075, allocations: 23.75 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.2075, allocations: 21.41 kB / 415 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2076, allocations: 0 / 415 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2076, allocations: 4 kB / 415 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2076, allocations: 3.984 kB / 415 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.208, allocations: 424.8 kB / 415.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.208, allocations: 4 kB / 415.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2082, allocations: 35.92 kB / 415.4 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2082, allocations: 4 kB / 415.4 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2082, allocations: 4 kB / 415.4 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.2082, allocations: 7.984 kB / 415.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2082, allocations: 0 / 415.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2094, allocations: 1.63 MB / 417.1 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.2094, allocations: 88.92 kB / 417.2 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2095, allocations: 16 kB / 417.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2096, allocations: 0 / 417.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.2096, allocations: 16.03 kB / 417.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2096, allocations: 11.94 kB / 417.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.318e-05/0.2097, allocations: 139.2 kB / 417.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2097, allocations: 0 / 417.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00041/0.2101, allocations: 71.84 kB / 417.4 MB, free: 16.83 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 8.092e-05/0.2102, allocations: 99.25 kB / 417.5 MB, free: 16.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2104, allocations: 152.5 kB / 417.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2104, allocations: 3.938 kB / 417.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.2105, allocations: 55.86 kB / 417.7 MB, free: 16.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.211, allocations: 42.5 kB / 417.8 MB, free: 16.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.2118, allocations: 0.823 MB / 418.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.212, allocations: 0.7404 MB / 419.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.2121, allocations: 25.94 kB / 419.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.2121, allocations: 15.44 kB / 419.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2121, allocations: 0 / 419.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003474/0.2156, allocations: 1.641 MB / 421 MB, free: 13.18 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@2/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