Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.00148/0.00148, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001887/0.001887, allocations: 167.8 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.425/1.425, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2027/0.2027, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.659e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00299/0.003017, allocations: 1.617 MB / 441.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.003321, allocations: 99.62 kB / 441.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.003389, allocations: 0 / 441.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.908e-05/0.003448, allocations: 19.86 kB / 441.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.003579, allocations: 43.62 kB / 441.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.003706, allocations: 23.95 kB / 441.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.00388, allocations: 131.3 kB / 442 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004015, allocations: 25.23 kB / 442 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.004157, allocations: 79.8 kB / 442.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.00424, allocations: 35.89 kB / 442.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.004265, allocations: 8 kB / 442.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.004288, allocations: 8 kB / 442.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.004327, allocations: 27.91 kB / 442.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.004389, allocations: 43.92 kB / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.004572, allocations: 119.6 kB / 442.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004574, allocations: 4 kB / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004575, allocations: 0 / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.00458, allocations: 0 / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005239/0.005104, allocations: 330.1 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00514, allocations: 8.031 kB / 442.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.005186, allocations: 12.89 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.005386, allocations: 141.6 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.005404, allocations: 8.609 kB / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.005437, allocations: 16.38 kB / 442.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.005685, allocations: 137.5 kB / 443 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.005701, allocations: 8.078 kB / 443 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.005715, allocations: 4.375 kB / 443 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005721, allocations: 4.375 kB / 443 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.005852, allocations: 74.45 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.006558, allocations: 432.2 kB / 443.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.006712, allocations: 89.09 kB / 443.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.006754, allocations: 29.72 kB / 443.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.006765, allocations: 0 / 443.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.0068, allocations: 34.56 kB / 443.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.006801, allocations: 0 / 443.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00054/0.007341, allocations: 155.2 kB / 443.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.007404, allocations: 81.09 kB / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.007511, allocations: 121.8 kB / 444 MB, free: 4.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.007527, allocations: 25.7 kB / 444 MB, free: 4.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.007613, allocations: 127.8 kB / 444.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.007643, allocations: 35.69 kB / 444.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.007691, allocations: 29.7 kB / 444.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.007833, allocations: 318.8 kB / 444.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.007901, allocations: 23.98 kB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.007993, allocations: 87.95 kB / 444.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.008151, allocations: 132.8 kB / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008153, allocations: 0 / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002857/0.008438, allocations: 159.1 kB / 444.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.008458, allocations: 11.98 kB / 444.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.008465, allocations: 4.25 kB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.008648, allocations: 45.64 kB / 445 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.008732, allocations: 16 kB / 445 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.01084, allocations: 2.489 MB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.0109, allocations: 7.938 kB / 447.5 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.01091, allocations: 4.094 kB / 447.5 MB, free: 252 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.01103, allocations: 133.6 kB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.01108, allocations: 11.94 kB / 447.6 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01111, allocations: 12 kB / 447.6 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01111, allocations: 4 kB / 447.6 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01112, allocations: 0 / 447.6 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01112, allocations: 8.078 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1788/0.1899, allocations: 148 kB / 447.8 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.19, allocations: 0.9375 kB / 447.8 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1901, allocations: 13.42 kB / 447.8 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.1902, allocations: 32.36 kB / 447.8 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1902, allocations: 1.859 kB / 447.8 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1914, allocations: 2.469 MB / 450.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1914, allocations: 5.125 kB / 450.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1917, allocations: 305.9 kB / 450.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.1917, allocations: 8.531 kB / 450.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1917, allocations: 2.016 kB / 450.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.1918, allocations: 4.906 kB / 450.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1919, allocations: 11.16 kB / 450.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.1919, allocations: 2.312 kB / 450.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.1919, allocations: 93.19 kB / 450.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1919, allocations: 0 / 450.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.1923, allocations: 40.88 kB / 450.8 MB, free: 18.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001046/0.1924, allocations: 100.9 kB / 450.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.1928, allocations: 303.8 kB / 451.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1928, allocations: 0 / 451.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.193, allocations: 257.6 kB / 451.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1935, allocations: 31.52 kB / 451.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.1941, allocations: 376.8 kB / 451.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.1941, allocations: 100.4 kB / 451.9 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.1942, allocations: 7.438 kB / 451.9 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1942, allocations: 11.94 kB / 451.9 MB, free: 17.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1942, allocations: 1.094 kB / 451.9 MB, free: 17.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004933/0.1991, allocations: 1.649 MB / 453.6 MB, free: 17.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 4.696490854024887]