Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001178/0.001178, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004109/0.004109, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8745/0.8745, allocations: 177.1 MB / 205 MB, free: 5.727 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.2319/0.2319, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.265e-05, allocations: 2.281 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003184/0.003216, allocations: 2.667 MB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.004151, allocations: 0.7672 MB / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004281, allocations: 11.94 kB / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.00447, allocations: 67.25 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.004635, allocations: 134.8 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.184/0.1887, allocations: 114.4 kB / 444.6 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.1893, allocations: 468.5 kB / 445 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.1895, allocations: 129.6 kB / 445.2 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.1899, allocations: 263.7 kB / 445.4 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.19, allocations: 140.4 kB / 445.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1901, allocations: 34.97 kB / 445.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.1901, allocations: 38.22 kB / 445.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.1902, allocations: 84.8 kB / 445.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.1902, allocations: 148.9 kB / 445.9 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1906, allocations: 456.6 kB / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1906, allocations: 0 / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1906, allocations: 0 / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1906, allocations: 2.812 kB / 446.3 MB, free: 43.68 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006386/0.1913, allocations: 0.6048 MB / 446.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1913, allocations: 8.906 kB / 446.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.1915, allocations: 69.2 kB / 447 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1919, allocations: 244.8 kB / 447.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1919, allocations: 30.19 kB / 447.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.1919, allocations: 40.56 kB / 447.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.1924, allocations: 386.2 kB / 447.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1924, allocations: 7.047 kB / 447.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1924, allocations: 17.56 kB / 447.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1924, allocations: 11.91 kB / 447.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1927, allocations: 245.7 kB / 448 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.1937, allocations: 0.9098 MB / 448.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.194, allocations: 319.1 kB / 449.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1941, allocations: 170.1 kB / 449.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1942, allocations: 5.562 kB / 449.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1942, allocations: 41.53 kB / 449.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.444e-06/0.1942, allocations: 2.781 kB / 449.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.002027/0.1962, allocations: 2.004 MB / 451.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1963, allocations: 108.4 kB / 451.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1964, allocations: 198 kB / 451.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1964, allocations: 36.48 kB / 451.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.1965, allocations: 194.3 kB / 451.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.1965, allocations: 206.7 kB / 452.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.1966, allocations: 83.86 kB / 452.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.1967, allocations: 345.1 kB / 452.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1968, allocations: 132.4 kB / 452.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.197, allocations: 234.2 kB / 452.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1973, allocations: 395 kB / 453.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1973, allocations: 0 / 453.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005264/0.1978, allocations: 0.549 MB / 453.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1979, allocations: 6.281 kB / 453.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.1979, allocations: 6.875 kB / 453.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.1981, allocations: 125.5 kB / 454 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1983, allocations: 104.9 kB / 454.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.2003, allocations: 4.811 MB / 458.9 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2004, allocations: 22.03 kB / 458.9 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2004, allocations: 21.22 kB / 458.9 MB, free: 34.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2006, allocations: 165.9 kB / 459.1 MB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2006, allocations: 43.83 kB / 459.1 MB, free: 34.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.2007, allocations: 43.44 kB / 459.2 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2007, allocations: 6.156 kB / 459.2 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.2007, allocations: 3.125 kB / 459.2 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2007, allocations: 3.188 kB / 459.2 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2018, allocations: 1.18 MB / 460.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.2018, allocations: 1 kB / 460.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.202, allocations: 102.2 kB / 460.5 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.2022, allocations: 90.67 kB / 460.6 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2022, allocations: 13.98 kB / 460.6 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.2039, allocations: 4.032 MB / 464.6 MB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2039, allocations: 7 kB / 464.6 MB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.2048, allocations: 0.9109 MB / 465.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.2048, allocations: 40.42 kB / 465.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.2049, allocations: 11.25 kB / 465.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.205, allocations: 17.59 kB / 465.6 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2051, allocations: 50.98 kB / 465.6 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.2051, allocations: 20.69 kB / 465.7 MB, free: 29.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.522e-05/0.2052, allocations: 142.2 kB / 465.8 MB, free: 29.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2052, allocations: 0 / 465.8 MB, free: 29.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006627/0.2059, allocations: 120.6 kB / 465.9 MB, free: 29.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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 0.0001669/0.206, allocations: 104.4 kB / 466 MB, free: 29.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009188/0.207, allocations: 0.7672 MB / 466.8 MB, free: 28.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.207, allocations: 0 / 466.8 MB, free: 28.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2073, allocations: 0.5678 MB / 467.4 MB, free: 28.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.2078, allocations: 61.05 kB / 467.4 MB, free: 28.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2089, allocations: 0.9805 MB / 468.4 MB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2091, allocations: 218.4 kB / 468.6 MB, free: 27.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.2091, allocations: 31.38 kB / 468.6 MB, free: 27.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2091, allocations: 3.938 kB / 468.6 MB, free: 27.5 MB / 410.7 MB Notification: Performance of Templates: time 0.006862/0.216, allocations: 9.549 MB / 478.2 MB, free: 26.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.20959941111505]