Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.002359/0.002359, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.002474/0.002474, allocations: 159.5 kB / 24.5 MB, free: 3.715 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.549/1.549, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2145/0.2145, allocations: 34.28 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.89 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3346, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003015/0.3376, allocations: 2.652 MB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.3386, allocations: 0.7355 MB / 0.5005 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3387, allocations: 17.69 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3388, allocations: 52.75 kB / 0.5006 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.339, allocations: 131.9 kB / 0.5007 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.3393, allocations: 111.7 kB / 0.5008 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.3396, allocations: 440.2 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3397, allocations: 103.2 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3399, allocations: 174.2 kB / 0.5015 GB, free: 27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3401, allocations: 158 kB / 0.5017 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.3401, allocations: 43.03 kB / 0.5017 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.3402, allocations: 34.44 kB / 0.5017 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.3402, allocations: 78.44 kB / 0.5018 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3403, allocations: 167.6 kB / 0.502 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.3406, allocations: 443.9 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3406, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3406, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3406, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006848/0.3413, allocations: 0.5908 MB / 0.503 GB, free: 26.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.414e-05/0.3413, allocations: 9.406 kB / 0.503 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.3416, allocations: 62.95 kB / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.3418, allocations: 216.2 kB / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3418, allocations: 26.31 kB / 0.5033 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.3419, allocations: 46.14 kB / 0.5033 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.3424, allocations: 400.6 kB / 0.5037 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3424, allocations: 11.11 kB / 0.5037 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3424, allocations: 15.19 kB / 0.5037 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3424, allocations: 9.781 kB / 0.5037 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.3428, allocations: 217 kB / 0.5039 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.3443, allocations: 1.557 MB / 0.5055 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.3446, allocations: 251.2 kB / 0.5057 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3447, allocations: 86.59 kB / 0.5058 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3447, allocations: 9.219 kB / 0.5058 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3448, allocations: 43.05 kB / 0.5058 GB, free: 24.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.3448, allocations: 0 / 0.5058 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005818/0.3453, allocations: 265.9 kB / 0.5061 GB, free: 23.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3454, allocations: 211.7 kB / 0.5063 GB, free: 23.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3456, allocations: 268.8 kB / 0.5066 GB, free: 23.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3456, allocations: 33.08 kB / 0.5066 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.3457, allocations: 253.6 kB / 0.5068 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.3457, allocations: 124.1 kB / 0.5069 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/0.3458, allocations: 100 kB / 0.507 GB, free: 23.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.3459, allocations: 347.2 kB / 0.5074 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.346, allocations: 96.95 kB / 0.5075 GB, free: 22.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3463, allocations: 432.5 kB / 0.5079 GB, free: 22.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.3468, allocations: 0.5675 MB / 0.5084 GB, free: 21.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3468, allocations: 3.094 kB / 0.5084 GB, free: 21.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006783/0.3475, allocations: 0.527 MB / 0.5089 GB, free: 21.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3475, allocations: 12.12 kB / 0.509 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3475, allocations: 12.34 kB / 0.509 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.3475, allocations: 15.16 kB / 0.509 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.3479, allocations: 153.2 kB / 0.5091 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.3479, allocations: 19.62 kB / 0.5091 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.3482, allocations: 70.58 kB / 0.5092 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3482, allocations: 31.88 kB / 0.5092 GB, free: 21.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001181/0.3483, allocations: 180.2 kB / 0.5094 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3485, allocations: 31.34 kB / 0.5094 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.3485, allocations: 38.16 kB / 0.5095 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3485, allocations: 2.938 kB / 0.5095 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3485, allocations: 7.031 kB / 0.5095 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3485, allocations: 0 / 0.5095 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.3495, allocations: 0.5644 MB / 0.51 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3495, allocations: 3.188 kB / 0.51 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.3499, allocations: 90.86 kB / 0.5101 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3499, allocations: 6.672 kB / 0.5101 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.35, allocations: 6.969 kB / 0.5101 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.35, allocations: 5.531 kB / 0.5102 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.35, allocations: 0 / 0.5102 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.3505, allocations: 0.8426 MB / 0.511 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3505, allocations: 32.44 kB / 0.511 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3506, allocations: 11.22 kB / 0.511 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.3509, allocations: 9.688 kB / 0.511 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.3509, allocations: 31.44 kB / 0.5111 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.351, allocations: 10.28 kB / 0.5111 GB, free: 20.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3511, allocations: 176.9 kB / 0.5112 GB, free: 19.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3511, allocations: 3.938 kB / 0.5112 GB, free: 19.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006921/0.3518, allocations: 97.55 kB / 0.5113 GB, free: 19.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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 7.878e-05/0.3518, allocations: 115.7 kB / 0.5114 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004381/0.3523, allocations: 274.8 kB / 0.5117 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3523, allocations: 0 / 0.5117 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3524, allocations: 92.2 kB / 0.5118 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.3533, allocations: 70.66 kB / 0.5119 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.355, allocations: 1.537 MB / 0.5134 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.3553, allocations: 197.5 kB / 0.5135 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3554, allocations: 46.55 kB / 0.5136 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.3555, allocations: 28.16 kB / 0.5136 GB, free: 18.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3555, allocations: 0 / 0.5136 GB, free: 18.31 MB / 446.1 MB Notification: Performance of Templates: time 0.007651/0.3632, allocations: 2.87 MB / 0.5164 GB, free: 17.94 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.222617672989145]