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.001333/0.001333, allocations: 84.47 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.001395/0.001395, allocations: 168.8 kB / 23.96 MB, free: 4.148 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.421/1.421, allocations: 177.1 MB / 204.3 MB, free: 9.164 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.2069/0.2069, 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.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 1.553e-06/1.553e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.91e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004261/0.00429, allocations: 2.654 MB / 442.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005736, allocations: 0.7711 MB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.005886, allocations: 15.88 kB / 443.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.006071, allocations: 63.38 kB / 443.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.006323, allocations: 134.7 kB / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.006681, allocations: 119.8 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.007191, allocations: 470.1 kB / 444.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.007448, allocations: 126.8 kB / 444.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.007826, allocations: 259.5 kB / 444.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.008055, allocations: 139.5 kB / 444.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.008112, allocations: 36 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.00821, allocations: 39.94 kB / 444.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.0083, allocations: 87.66 kB / 445 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.008456, allocations: 135.7 kB / 445.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.008995, allocations: 474.3 kB / 445.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008998, allocations: 4 kB / 445.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008999, allocations: 0 / 445.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.009006, allocations: 0 / 445.6 MB, free: 2.629 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001084/0.01009, allocations: 0.595 MB / 446.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01013, allocations: 12.03 kB / 446.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.01048, allocations: 68.62 kB / 446.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.01085, allocations: 250 kB / 446.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.01088, allocations: 25.38 kB / 446.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.01095, allocations: 44.31 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.01162, allocations: 381.6 kB / 446.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.01164, allocations: 8.141 kB / 446.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.01169, allocations: 16.38 kB / 446.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.0117, allocations: 19.94 kB / 447 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.01222, allocations: 239.8 kB / 447.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.181/0.1932, allocations: 0.9062 MB / 448.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.1939, allocations: 322 kB / 448.4 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.1942, allocations: 159.8 kB / 448.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1942, allocations: 5.812 kB / 448.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1942, allocations: 37.92 kB / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.755e-06/0.1942, allocations: 0 / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003441/0.1977, allocations: 2.016 MB / 450.6 MB, free: 19.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1977, allocations: 109.2 kB / 450.7 MB, free: 19.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1979, allocations: 197.7 kB / 450.9 MB, free: 19.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1979, allocations: 37.48 kB / 451 MB, free: 19.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.198, allocations: 189.9 kB / 451.2 MB, free: 19.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.1981, allocations: 209.7 kB / 451.4 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1982, allocations: 86.98 kB / 451.4 MB, free: 19.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.1983, allocations: 345.2 kB / 451.8 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1985, allocations: 132.6 kB / 451.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1988, allocations: 237.1 kB / 452.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.1994, allocations: 393.9 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1994, allocations: 4.938 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009991/0.2004, allocations: 0.5472 MB / 453.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2004, allocations: 5.719 kB / 453.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2004, allocations: 2.969 kB / 453.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.2008, allocations: 128.5 kB / 453.2 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.2011, allocations: 100 kB / 453.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.2042, allocations: 4.813 MB / 458.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.2044, allocations: 18.12 kB / 458.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.2044, allocations: 19.88 kB / 458.2 MB, free: 13.78 MB / 366.1 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.0001835/0.2046, allocations: 174.9 kB / 458.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.2047, allocations: 36.27 kB / 458.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.2048, allocations: 46.53 kB / 458.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2048, allocations: 6.875 kB / 458.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.2048, allocations: 2.75 kB / 458.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.2048, allocations: 4.047 kB / 458.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.2065, allocations: 1.177 MB / 459.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2065, allocations: 2.5 kB / 459.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.207, allocations: 93.17 kB / 459.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.2072, allocations: 101.2 kB / 459.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2073, allocations: 16.72 kB / 459.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.2095, allocations: 4.035 MB / 463.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2095, allocations: 1.188 kB / 463.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2107, allocations: 0.9054 MB / 464.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.2107, allocations: 30.84 kB / 464.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.2108, allocations: 20.92 kB / 464.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.211, allocations: 18.45 kB / 464.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2111, allocations: 56.72 kB / 464.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2112, allocations: 17.02 kB / 464.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.2113, allocations: 140.9 kB / 465 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 465 MB, free: 8.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007242/0.212, allocations: 121.2 kB / 465.2 MB, free: 8.176 MB / 366.1 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.0001094/0.2121, allocations: 110.9 kB / 465.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2132, allocations: 0.7645 MB / 466 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2132, allocations: 1.188 kB / 466 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.2139, allocations: 0.5666 MB / 466.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.2145, allocations: 58.05 kB / 466.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2161, allocations: 0.9564 MB / 467.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2163, allocations: 226.3 kB / 467.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2164, allocations: 28.66 kB / 467.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.2165, allocations: 29.08 kB / 467.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2165, allocations: 3.938 kB / 467.9 MB, free: 6.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01051/0.227, allocations: 4.368 MB / 472.3 MB, free: 5.879 MB / 366.1 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: 4.919563140720129]