Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000856/0.0008596, allocations: 181.9 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007002/0.0007002, allocations: 93.86 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 4 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1866, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00201/0.1887, allocations: 2.077 MB / 406.7 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.1891, allocations: 262.8 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.1892, allocations: 4 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1893, allocations: 36.22 kB / 406.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1895, allocations: 82 kB / 407 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.1896, allocations: 55.95 kB / 407.1 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1898, allocations: 303.1 kB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.19, allocations: 86.94 kB / 407.5 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.1901, allocations: 99.58 kB / 407.6 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1902, allocations: 116.6 kB / 407.7 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.1902, allocations: 19.94 kB / 407.7 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1903, allocations: 12 kB / 407.7 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.1903, allocations: 51.81 kB / 407.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1904, allocations: 157 kB / 407.9 MB, free: 27.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1906, allocations: 296.4 kB / 408.2 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1906, allocations: 0 / 408.2 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1906, allocations: 0 / 408.2 MB, free: 27.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1906, allocations: 0 / 408.2 MB, free: 27.69 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006006/0.1912, allocations: 0.5191 MB / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1913, allocations: 15.97 kB / 408.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.1913, allocations: 32.56 kB / 408.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1915, allocations: 239.8 kB / 409 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1916, allocations: 20.94 kB / 409 MB, free: 26.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1916, allocations: 24.38 kB / 409 MB, free: 26.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1919, allocations: 259.1 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.192, allocations: 192 / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.192, allocations: 15.94 kB / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.192, allocations: 4 kB / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1922, allocations: 179.9 kB / 409.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.193, allocations: 0.7536 MB / 410.2 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1933, allocations: 273 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1934, allocations: 125.7 kB / 410.6 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1934, allocations: 4 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.1934, allocations: 46.5 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.332e-06/0.1935, allocations: 0 / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001943/0.1954, allocations: 1.706 MB / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1954, allocations: 85.05 kB / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1956, allocations: 178.3 kB / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1956, allocations: 33.7 kB / 412.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.1956, allocations: 144.7 kB / 412.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.1957, allocations: 173.4 kB / 413 MB, free: 22.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.1957, allocations: 12 kB / 413 MB, free: 22.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.1958, allocations: 338.8 kB / 413.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1959, allocations: 105 kB / 413.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1961, allocations: 153.5 kB / 413.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1964, allocations: 283 kB / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1964, allocations: 0 / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003823/0.1968, allocations: 369.1 kB / 414.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1968, allocations: 6.188 kB / 414.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1968, allocations: 4 kB / 414.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1968, allocations: 0 / 414.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.1972, allocations: 107.8 kB / 414.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1972, allocations: 0 / 414.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1973, allocations: 16.06 kB / 414.4 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1973, allocations: 16 kB / 414.4 MB, free: 21.08 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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 9.493e-05/0.1974, allocations: 145.8 kB / 414.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1975, allocations: 31.66 kB / 414.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.1976, allocations: 41.8 kB / 414.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1976, allocations: 4 kB / 414.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1976, allocations: 4 kB / 414.6 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1976, allocations: 3.984 kB / 414.6 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.1985, allocations: 0.9615 MB / 415.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1986, allocations: 3.938 kB / 415.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.1989, allocations: 99.89 kB / 415.7 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1989, allocations: 0 / 415.7 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.199, allocations: 8 kB / 415.7 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.199, allocations: 4 kB / 415.7 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.199, allocations: 0 / 415.7 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1995, allocations: 0.65 MB / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1996, allocations: 100.8 kB / 416.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.1996, allocations: 8 kB / 416.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1998, allocations: 8 kB / 416.4 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1998, allocations: 31.95 kB / 416.5 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1998, allocations: 8 kB / 416.5 MB, free: 18.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.1999, allocations: 133.5 kB / 416.6 MB, free: 18.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1999, allocations: 4 kB / 416.6 MB, free: 18.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.2002, allocations: 80 kB / 416.7 MB, free: 18.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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 9.983e-05/0.2003, allocations: 119.1 kB / 416.8 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.2007, allocations: 286.8 kB / 417.1 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2007, allocations: 3.938 kB / 417.1 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2008, allocations: 159.6 kB / 417.2 MB, free: 18.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.2014, allocations: 64.09 kB / 417.3 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2026, allocations: 1.241 MB / 418.5 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2027, allocations: 0.7767 MB / 419.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.2028, allocations: 30.95 kB / 419.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2029, allocations: 35.38 kB / 419.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2029, allocations: 0 / 419.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004795/0.2077, allocations: 2.88 MB / 422.3 MB, free: 13.02 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches