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.001388/0.001388, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001528/0.001528, allocations: 218 kB / 22.99 MB, free: 4.977 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.479/1.479, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2313/0.2313, allocations: 44.26 MB / 330.3 MB, free: 9.297 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",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.002335/0.002335, allocations: 71.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1186, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002917/0.1215, allocations: 1.612 MB / 0.5177 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.1218, allocations: 103.6 kB / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1219, allocations: 4 kB / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.094e-05/0.1219, allocations: 15.8 kB / 0.5178 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1221, allocations: 43.62 kB / 0.5179 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1222, allocations: 19.98 kB / 0.5179 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1224, allocations: 131.4 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1225, allocations: 25.55 kB / 0.518 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.1226, allocations: 47.86 kB / 0.5181 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.1227, allocations: 43.78 kB / 0.5181 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1227, allocations: 12 kB / 0.5181 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.1227, allocations: 12 kB / 0.5182 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.1228, allocations: 27.91 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.1228, allocations: 43.8 kB / 0.5182 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.123, allocations: 127.5 kB / 0.5183 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.123, allocations: 7.875 kB / 0.5184 GB, free: 4.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.123, allocations: 0 / 0.5184 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.123, allocations: 0 / 0.5184 GB, free: 4.895 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.0005103/0.1235, allocations: 330.2 kB / 0.5187 GB, free: 4.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1236, allocations: 8.031 kB / 0.5187 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.1236, allocations: 46.73 kB / 0.5187 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1237, allocations: 16.84 kB / 0.5187 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1239, allocations: 138.4 kB / 0.5189 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1239, allocations: 8.609 kB / 0.5189 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1239, allocations: 16.33 kB / 0.5189 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1242, allocations: 129.5 kB / 0.519 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1242, allocations: 11.92 kB / 0.519 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1242, allocations: 4 kB / 0.519 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1242, allocations: 4 kB / 0.519 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1243, allocations: 59.91 kB / 0.5191 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.1251, allocations: 475.6 kB / 0.5195 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1252, allocations: 89.14 kB / 0.5196 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.1253, allocations: 25.66 kB / 0.5197 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1253, allocations: 4 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1253, allocations: 38.5 kB / 0.5197 GB, free: 3.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1253, allocations: 0 / 0.5197 GB, free: 3.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006092/0.126, allocations: 147.3 kB / 0.5198 GB, free: 3.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.126, allocations: 81.11 kB / 0.5199 GB, free: 3.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1261, allocations: 117.8 kB / 0.52 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1262, allocations: 29.7 kB / 0.5201 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.1262, allocations: 127.7 kB / 0.5202 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1263, allocations: 27.75 kB / 0.5202 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1263, allocations: 37.66 kB / 0.5202 GB, free: 2.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1265, allocations: 330.8 kB / 0.5206 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.1265, allocations: 16 kB / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1266, allocations: 92.45 kB / 0.5207 GB, free: 2.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1268, allocations: 128.4 kB / 0.5208 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1268, allocations: 0 / 0.5208 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002909/0.1271, allocations: 171.2 kB / 0.5209 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1271, allocations: 8 kB / 0.5209 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1271, allocations: 3.938 kB / 0.521 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.1273, allocations: 37.7 kB / 0.521 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.1274, allocations: 23.92 kB / 0.521 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1295, allocations: 2.516 MB / 0.5235 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.1296, allocations: 19.89 kB / 0.5235 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1296, allocations: 4 kB / 0.5235 GB, free: 15.1 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.0001212/0.1297, allocations: 125.8 kB / 0.5236 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.1297, allocations: 16.03 kB / 0.5236 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.1298, allocations: 12 kB / 0.5236 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1298, allocations: 4 kB / 0.5236 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1298, allocations: 0 / 0.5236 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1298, allocations: 0 / 0.5236 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.13, allocations: 168.7 kB / 0.5238 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.13, allocations: 0 / 0.5238 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.1301, allocations: 12 kB / 0.5238 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.1302, allocations: 45.58 kB / 0.5239 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1302, allocations: 0 / 0.5239 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.1323, allocations: 2.527 MB / 0.5263 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1324, allocations: 0 / 0.5263 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1327, allocations: 304.8 kB / 0.5266 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.1327, allocations: 8.266 kB / 0.5266 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1327, allocations: 8 kB / 0.5266 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.1328, allocations: 0 / 0.5266 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1328, allocations: 15.97 kB / 0.5266 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1328, allocations: 4 kB / 0.5267 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.1329, allocations: 95.2 kB / 0.5267 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1329, allocations: 0 / 0.5267 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1333, allocations: 39.88 kB / 0.5268 GB, free: 11.41 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.0006964/0.134, allocations: 0.8383 MB / 0.5276 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.1344, allocations: 297.2 kB / 0.5279 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1344, allocations: 0 / 0.5279 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1347, allocations: 253.4 kB / 0.5281 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.1353, allocations: 36.91 kB / 0.5282 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1375, allocations: 1.985 MB / 0.5301 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1376, allocations: 97.61 kB / 0.5302 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.1377, allocations: 4.984 kB / 0.5302 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1377, allocations: 27.42 kB / 0.5302 GB, free: 7.629 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1377, allocations: 0 / 0.5302 GB, free: 7.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.1745, allocations: 3.615 MB / 0.5338 GB, free: 4.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.93, allocations: 15.84 kB / 0.5338 GB, free: 3.996 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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] "Error: Could not read variable J1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.21629230119288]