Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, 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.275/1.275, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009529/0.0009529, allocations: 106.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009243/0.0009243, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1947, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002596/0.1973, allocations: 2.409 MB / 409.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.1981, allocations: 0.625 MB / 410.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.1982, allocations: 7.938 kB / 410.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1983, allocations: 23.78 kB / 410.1 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.1984, allocations: 59.53 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.1986, allocations: 47.95 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1988, allocations: 254.7 kB / 410.5 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1989, allocations: 77.33 kB / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.199, allocations: 87.66 kB / 410.6 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1992, allocations: 107.5 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1992, allocations: 15.94 kB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.1992, allocations: 20 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.1993, allocations: 39.84 kB / 410.8 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.1994, allocations: 111.5 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1995, allocations: 240.7 kB / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1996, allocations: 0 / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1996, allocations: 0 / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1996, allocations: 0 / 411.1 MB, free: 23.7 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005259/0.2001, allocations: 0.5145 MB / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2001, allocations: 8.875 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2003, allocations: 36.64 kB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2005, allocations: 232.7 kB / 411.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2005, allocations: 16.81 kB / 411.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.2005, allocations: 20.38 kB / 412 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2008, allocations: 214.2 kB / 412.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2008, allocations: 7.891 kB / 412.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2008, allocations: 4 kB / 412.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2008, allocations: 8 kB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.2011, allocations: 137.5 kB / 412.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.2018, allocations: 0.7016 MB / 413 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.202, allocations: 142.5 kB / 413.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2021, allocations: 72.77 kB / 413.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2022, allocations: 4 kB / 413.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.2022, allocations: 30.56 kB / 413.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.2022, allocations: 0 / 413.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001142/0.2033, allocations: 0.8981 MB / 414.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.2034, allocations: 55.41 kB / 414.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2035, allocations: 174.6 kB / 414.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2035, allocations: 33.7 kB / 414.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.2035, allocations: 144.1 kB / 414.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.2036, allocations: 86.75 kB / 414.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.2036, allocations: 45.7 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.2037, allocations: 326.8 kB / 415 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.2038, allocations: 59.97 kB / 415.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2039, allocations: 101.8 kB / 415.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2041, allocations: 172.1 kB / 415.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.2041, allocations: 0 / 415.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003413/0.2045, allocations: 246.1 kB / 415.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2045, allocations: 10.97 kB / 415.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2045, allocations: 3.984 kB / 415.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.2046, allocations: 28.84 kB / 415.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.2048, allocations: 55.91 kB / 415.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.2056, allocations: 1.378 MB / 417.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2057, allocations: 11.98 kB / 417.1 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2057, allocations: 11.94 kB / 417.1 MB, free: 17.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.2058, allocations: 142.3 kB / 417.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.2058, allocations: 15.81 kB / 417.2 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.2059, allocations: 25.86 kB / 417.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2059, allocations: 4 kB / 417.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2059, allocations: 0 / 417.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2059, allocations: 0 / 417.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.2065, allocations: 0.6558 MB / 417.9 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2066, allocations: 0 / 417.9 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.2067, allocations: 51.91 kB / 418 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/0.2068, allocations: 37.03 kB / 418 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2069, allocations: 8 kB / 418 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006612/0.2075, allocations: 1.37 MB / 419.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2076, allocations: 7.969 kB / 419.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.2101, allocations: 3.361 MB / 422.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.2101, allocations: 100.9 kB / 422.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2102, allocations: 7.938 kB / 422.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2103, allocations: 4 kB / 422.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.2103, allocations: 23.91 kB / 422.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2104, allocations: 8 kB / 422.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.2104, allocations: 127.2 kB / 423 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2104, allocations: 4.062 kB / 423 MB, free: 10.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.2108, allocations: 80 kB / 423.1 MB, free: 10.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.954e-05/0.2109, allocations: 107.2 kB / 423.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.2113, allocations: 282.5 kB / 423.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2113, allocations: 256 / 423.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2116, allocations: 218.5 kB / 423.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.212, allocations: 39.92 kB / 423.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2131, allocations: 1.094 MB / 424.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.2132, allocations: 0.7485 MB / 425.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.2133, allocations: 29.92 kB / 425.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.2134, allocations: 19.44 kB / 425.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2134, allocations: 0 / 425.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of Templates: time 0.004536/0.2179, allocations: 2.778 MB / 428.4 MB, free: 5.316 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches