Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00146/0.00146, allocations: 105 kB / 20.44 MB, free: 1.504 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.001591/0.001591, allocations: 221.3 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.24 MB / 331 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 75.89 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1018, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002616/0.1045, allocations: 1.669 MB / 0.519 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.1047, allocations: 111.6 kB / 0.5191 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1048, allocations: 7.938 kB / 0.5191 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.178e-05/0.1048, allocations: 11.86 kB / 0.5191 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.1049, allocations: 35.7 kB / 0.5191 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.105, allocations: 27.97 kB / 0.5192 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1052, allocations: 131.4 kB / 0.5193 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1053, allocations: 21.3 kB / 0.5193 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.1053, allocations: 55.78 kB / 0.5194 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.1054, allocations: 51.77 kB / 0.5194 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1054, allocations: 8 kB / 0.5194 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.1055, allocations: 12 kB / 0.5194 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.1055, allocations: 19.94 kB / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1056, allocations: 55.73 kB / 0.5195 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1057, allocations: 135.4 kB / 0.5196 GB, free: 4.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1057, allocations: 0 / 0.5196 GB, free: 4.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1057, allocations: 0 / 0.5196 GB, free: 4.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1057, allocations: 0 / 0.5196 GB, free: 4.496 MB / 398.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.0004415/0.1062, allocations: 326.2 kB / 0.52 GB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.1062, allocations: 8.031 kB / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1062, allocations: 16.84 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1064, allocations: 138.3 kB / 0.5201 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1064, allocations: 4.609 kB / 0.5201 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1064, allocations: 32.31 kB / 0.5201 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1066, allocations: 129.5 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1067, allocations: 192 / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1067, allocations: 7.938 kB / 0.5203 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1067, allocations: 4 kB / 0.5203 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1068, allocations: 59.95 kB / 0.5203 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.1074, allocations: 0.4955 MB / 0.5208 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1075, allocations: 77.22 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.1076, allocations: 29.66 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1076, allocations: 3.938 kB / 0.5209 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1076, allocations: 38.56 kB / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.1076, allocations: 0 / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004635/0.1081, allocations: 147.3 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1081, allocations: 77.11 kB / 0.5212 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.1082, allocations: 125.8 kB / 0.5213 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1083, allocations: 25.7 kB / 0.5213 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.1083, allocations: 123.7 kB / 0.5214 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1084, allocations: 31.73 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1084, allocations: 33.64 kB / 0.5215 GB, free: 2.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1085, allocations: 326.8 kB / 0.5218 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.1086, allocations: 23.98 kB / 0.5218 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.1087, allocations: 92.52 kB / 0.5219 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1088, allocations: 124.8 kB / 0.522 GB, free: 1.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1088, allocations: 0 / 0.522 GB, free: 1.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002636/0.1091, allocations: 175.1 kB / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1091, allocations: 8 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1091, allocations: 0 / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.1093, allocations: 37.64 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.1093, allocations: 27.94 kB / 0.5223 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1112, allocations: 2.523 MB / 0.5247 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.1112, allocations: 15.89 kB / 0.5248 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1112, allocations: 12.16 kB / 0.5248 GB, free: 14.72 MB / 414.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 9.105e-05/0.1113, allocations: 117.8 kB / 0.5249 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1114, allocations: 7.953 kB / 0.5249 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.1114, allocations: 19.92 kB / 0.5249 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1114, allocations: 0 / 0.5249 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1114, allocations: 0 / 0.5249 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1114, allocations: 4.094 kB / 0.5249 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1116, allocations: 168.7 kB / 0.5251 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1116, allocations: 15.88 kB / 0.5251 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.1117, allocations: 19.92 kB / 0.5251 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.814e-05/0.1118, allocations: 33.7 kB / 0.5251 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1118, allocations: 3.938 kB / 0.5251 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.1136, allocations: 2.531 MB / 0.5276 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1136, allocations: 0 / 0.5276 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1139, allocations: 308.5 kB / 0.5279 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.1139, allocations: 8.031 kB / 0.5279 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1139, allocations: 0 / 0.5279 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.114, allocations: 4 kB / 0.5279 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.114, allocations: 11.98 kB / 0.5279 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1141, allocations: 0 / 0.5279 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.1141, allocations: 91.27 kB / 0.528 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1141, allocations: 4 kB / 0.528 GB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1144, allocations: 39.95 kB / 0.5281 GB, free: 11.03 MB / 414.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 9.937e-05/0.1145, allocations: 99.31 kB / 0.5282 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.115, allocations: 313.5 kB / 0.5285 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.115, allocations: 4.062 kB / 0.5285 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1152, allocations: 253.3 kB / 0.5287 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1156, allocations: 27.92 kB / 0.5287 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.1164, allocations: 499.3 kB / 0.5292 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1167, allocations: 0.7084 MB / 0.5299 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.1167, allocations: 11.44 kB / 0.5299 GB, free: 9.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1167, allocations: 0 / 0.5299 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004133/0.1208, allocations: 2.454 MB / 0.5323 GB, free: 6.562 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.388479581102729]