Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003374/0.003374, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8991/0.8991, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 32.8 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.506e-05, allocations: 6.781 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003101/0.003137, allocations: 2.814 MB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004162, allocations: 422.5 kB / 444.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.004386, allocations: 11.94 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.004497, allocations: 71.3 kB / 444.1 MB, free: 432 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.004778, allocations: 174.4 kB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.005028, allocations: 103.8 kB / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1872/0.1922, allocations: 0.5511 MB / 445 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1925, allocations: 117.6 kB / 445.1 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1928, allocations: 321.3 kB / 445.4 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1929, allocations: 152 kB / 445.5 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.193, allocations: 41.09 kB / 445.6 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.193, allocations: 40.09 kB / 445.6 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.1931, allocations: 99.45 kB / 445.7 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1932, allocations: 176.7 kB / 445.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1936, allocations: 0.5262 MB / 446.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1936, allocations: 3.234 kB / 446.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1936, allocations: 0 / 446.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.1936, allocations: 0 / 446.4 MB, free: 43.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0006334/0.1942, allocations: 0.6437 MB / 447.1 MB, free: 43.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1943, allocations: 15.06 kB / 447.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.1943, allocations: 54.22 kB / 447.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1946, allocations: 230.2 kB / 447.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1946, allocations: 36.91 kB / 447.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1946, allocations: 51.48 kB / 447.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.1951, allocations: 464.1 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1951, allocations: 11.58 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.1951, allocations: 17.91 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.1951, allocations: 14.91 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.1954, allocations: 266.9 kB / 448.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1966, allocations: 1.491 MB / 449.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1969, allocations: 397.8 kB / 450.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.197, allocations: 145.3 kB / 450.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.197, allocations: 7.938 kB / 450.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1971, allocations: 50.81 kB / 450.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.036e-06/0.1971, allocations: 0 / 450.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005052/0.1976, allocations: 360.6 kB / 450.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1976, allocations: 270.2 kB / 450.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1978, allocations: 238.6 kB / 451.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1978, allocations: 35.66 kB / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.1979, allocations: 254.6 kB / 451.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.1979, allocations: 192.2 kB / 451.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.198, allocations: 110.8 kB / 451.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.1981, allocations: 349.2 kB / 452.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1982, allocations: 124.4 kB / 452.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1984, allocations: 413 kB / 452.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.1988, allocations: 0.5759 MB / 453.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1988, allocations: 2.875 kB / 453.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005097/0.1993, allocations: 0.5684 MB / 453.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1993, allocations: 12.56 kB / 453.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1993, allocations: 11.09 kB / 453.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.1994, allocations: 21.48 kB / 453.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1996, allocations: 175.8 kB / 453.9 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.1997, allocations: 19.5 kB / 454 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1998, allocations: 62.53 kB / 454 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.1999, allocations: 31.91 kB / 454.1 MB, free: 38.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001317/0.2, allocations: 195.3 kB / 454.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2001, allocations: 38.7 kB / 454.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.2001, allocations: 43.55 kB / 454.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2001, allocations: 6.5 kB / 454.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.2002, allocations: 3.188 kB / 454.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2002, allocations: 8.5 kB / 454.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.2007, allocations: 309.3 kB / 454.6 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2007, allocations: 3 kB / 454.6 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.201, allocations: 124.9 kB / 454.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.201, allocations: 3.188 kB / 454.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.201, allocations: 14.38 kB / 454.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.201, allocations: 3.219 kB / 454.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2011, allocations: 10.38 kB / 454.8 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.2015, allocations: 1.081 MB / 455.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.2015, allocations: 32.64 kB / 455.9 MB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2016, allocations: 14.5 kB / 455.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.2018, allocations: 7.156 kB / 455.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2018, allocations: 37.92 kB / 456 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2018, allocations: 13.84 kB / 456 MB, free: 37.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.2019, allocations: 160.5 kB / 456.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2019, allocations: 0 / 456.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.2025, allocations: 139.6 kB / 456.3 MB, free: 37.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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 0.0002032/0.2027, allocations: 121.6 kB / 456.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.2031, allocations: 337.1 kB / 456.7 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2031, allocations: 3.938 kB / 456.7 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.2032, allocations: 121.5 kB / 456.8 MB, free: 37.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.204, allocations: 92.73 kB / 456.9 MB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2054, allocations: 1.535 MB / 458.5 MB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.2055, allocations: 225.1 kB / 458.7 MB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.2056, allocations: 34.78 kB / 458.7 MB, free: 35.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2056, allocations: 4 kB / 458.7 MB, free: 35.84 MB / 410.7 MB Notification: Performance of Templates: time 0.005341/0.2109, allocations: 5.356 MB / 464.1 MB, free: 35.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.059429718181491]