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.001323/0.001323, allocations: 109 kB / 20.48 MB, free: 1.477 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.001467/0.001467, allocations: 209 kB / 23.79 MB, free: 4.688 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.443/1.443, allocations: 207.6 MB / 234.6 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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.2241/0.2241, allocations: 44.24 MB / 331.1 MB, free: 9.52 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [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.002124/0.002124, allocations: 67.91 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1112, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003022/0.1142, allocations: 1.685 MB / 0.5185 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.1145, allocations: 103.6 kB / 0.5186 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.1145, allocations: 8 kB / 0.5186 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.1146, allocations: 11.86 kB / 0.5187 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1147, allocations: 39.64 kB / 0.5187 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.1148, allocations: 27.95 kB / 0.5187 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.115, allocations: 127.4 kB / 0.5188 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1151, allocations: 33.56 kB / 0.5189 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.1152, allocations: 47.84 kB / 0.5189 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.1153, allocations: 47.78 kB / 0.519 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1153, allocations: 12 kB / 0.519 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.1154, allocations: 12 kB / 0.519 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.1154, allocations: 19.92 kB / 0.519 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.1155, allocations: 59.73 kB / 0.5191 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1156, allocations: 127.5 kB / 0.5192 GB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1156, allocations: 0 / 0.5192 GB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1156, allocations: 0 / 0.5192 GB, free: 5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1157, allocations: 0 / 0.5192 GB, free: 5 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.0005306/0.1162, allocations: 330.1 kB / 0.5195 GB, free: 4.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1162, allocations: 12.03 kB / 0.5195 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1162, allocations: 4.422 kB / 0.5195 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1163, allocations: 46.75 kB / 0.5196 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1163, allocations: 16.84 kB / 0.5196 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1165, allocations: 134.4 kB / 0.5197 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1165, allocations: 12.55 kB / 0.5197 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.1166, allocations: 16.33 kB / 0.5197 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1168, allocations: 133.3 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1168, allocations: 0 / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1168, allocations: 11.98 kB / 0.5199 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1168, allocations: 4 kB / 0.5199 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1169, allocations: 63.89 kB / 0.5199 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.1177, allocations: 495.5 kB / 0.5204 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1178, allocations: 93.09 kB / 0.5205 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.1179, allocations: 21.72 kB / 0.5205 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1179, allocations: 0 / 0.5205 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1179, allocations: 38.5 kB / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.1179, allocations: 0 / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005364/0.1184, allocations: 151.3 kB / 0.5207 GB, free: 3.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1185, allocations: 77.11 kB / 0.5208 GB, free: 3.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1186, allocations: 117.8 kB / 0.5209 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1186, allocations: 25.7 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.1187, allocations: 131.7 kB / 0.521 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1188, allocations: 31.73 kB / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1188, allocations: 33.7 kB / 0.5211 GB, free: 2.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.119, allocations: 326.8 kB / 0.5214 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.119, allocations: 23.98 kB / 0.5214 GB, free: 2.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1191, allocations: 88.45 kB / 0.5215 GB, free: 2.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1193, allocations: 124.5 kB / 0.5216 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1193, allocations: 4 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000301/0.1196, allocations: 167.4 kB / 0.5218 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1196, allocations: 11.94 kB / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1196, allocations: 0 / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.1198, allocations: 41.95 kB / 0.5218 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1199, allocations: 23.94 kB / 0.5219 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.1222, allocations: 2.523 MB / 0.5243 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.1223, allocations: 15.89 kB / 0.5243 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1223, allocations: 8 kB / 0.5244 GB, free: 15.16 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 0.0001289/0.1224, allocations: 125.7 kB / 0.5245 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.1225, allocations: 15.98 kB / 0.5245 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.1225, allocations: 15.98 kB / 0.5245 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1225, allocations: 0 / 0.5245 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1225, allocations: 0 / 0.5245 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1225, allocations: 4 kB / 0.5245 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1228, allocations: 164.7 kB / 0.5247 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1228, allocations: 0 / 0.5247 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.1229, allocations: 15.98 kB / 0.5247 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.123, allocations: 41.58 kB / 0.5247 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1231, allocations: 4 kB / 0.5247 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.1254, allocations: 2.531 MB / 0.5272 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1254, allocations: 4 kB / 0.5272 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1258, allocations: 308.2 kB / 0.5275 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.1258, allocations: 8.031 kB / 0.5275 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1258, allocations: 0 / 0.5275 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.1259, allocations: 8.062 kB / 0.5275 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.126, allocations: 15.92 kB / 0.5275 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.126, allocations: 0 / 0.5275 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.126, allocations: 95.64 kB / 0.5276 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.126, allocations: 0 / 0.5276 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.1264, allocations: 43.89 kB / 0.5277 GB, free: 11.47 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 0.000687/0.1271, allocations: 0.819 MB / 0.5285 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.1276, allocations: 321.5 kB / 0.5288 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1276, allocations: 0 / 0.5288 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1279, allocations: 253.4 kB / 0.529 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.1284, allocations: 23.92 kB / 0.529 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1309, allocations: 1.978 MB / 0.531 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1313, allocations: 0.7084 MB / 0.5317 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.1313, allocations: 12.97 kB / 0.5317 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.1314, allocations: 31.42 kB / 0.5317 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1314, allocations: 0 / 0.5317 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.1671, allocations: 3.173 MB / 0.5348 GB, free: 3.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.25, allocations: 12.05 kB / 0.5348 GB, free: 3.883 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] 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: 15.525077441998292]