Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001906/0.001906, allocations: 114.2 kB / 19.69 MB, free: 2.207 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.002429/0.002429, allocations: 220.7 kB / 23.01 MB, free: 5.062 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.514/1.514, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.2306/0.2306, allocations: 44.24 MB / 330.3 MB, free: 9.621 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.002896/0.002896, allocations: 71.91 kB / 467.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1125, allocations: 61.04 MB / 0.5161 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003356/0.1158, allocations: 1.869 MB / 0.518 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004592/0.1163, allocations: 151.4 kB / 0.5181 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1164, allocations: 7.938 kB / 0.5181 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.743e-05/0.1165, allocations: 23.78 kB / 0.5181 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1167, allocations: 55.55 kB / 0.5182 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1168, allocations: 31.97 kB / 0.5182 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1171, allocations: 187.1 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1172, allocations: 45.97 kB / 0.5184 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1174, allocations: 71.73 kB / 0.5185 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1175, allocations: 79.62 kB / 0.5186 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1175, allocations: 12 kB / 0.5186 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.249e-05/0.1176, allocations: 16 kB / 0.5186 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1176, allocations: 31.91 kB / 0.5186 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1177, allocations: 83.61 kB / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.118, allocations: 187.2 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.118, allocations: 0 / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.118, allocations: 4 kB / 0.5189 GB, free: 4.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.118, allocations: 0 / 0.5189 GB, free: 4.523 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006053/0.1186, allocations: 366 kB / 0.5192 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1186, allocations: 12.03 kB / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.1187, allocations: 54.67 kB / 0.5193 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1187, allocations: 20.8 kB / 0.5193 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.119, allocations: 158.2 kB / 0.5195 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.119, allocations: 16.64 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.119, allocations: 20.38 kB / 0.5195 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.1193, allocations: 166.1 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1194, allocations: 7.938 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1194, allocations: 4 kB / 0.5197 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1194, allocations: 4 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.1196, allocations: 91.94 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.1205, allocations: 0.5539 MB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.1207, allocations: 133.1 kB / 0.5204 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.1208, allocations: 49.7 kB / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1208, allocations: 4.188 kB / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1208, allocations: 38.5 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1208, allocations: 0 / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008845/0.1217, allocations: 223.2 kB / 0.5207 GB, free: 2.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1218, allocations: 77.11 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1219, allocations: 130.1 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1219, allocations: 29.7 kB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.122, allocations: 132.2 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1221, allocations: 63.48 kB / 0.5212 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.1221, allocations: 33.72 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1223, allocations: 322.8 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.1224, allocations: 39.97 kB / 0.5215 GB, free: 1.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1225, allocations: 108.4 kB / 0.5216 GB, free: 1.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1227, allocations: 152.5 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1227, allocations: 4 kB / 0.5218 GB, free: 1.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004242/0.1231, allocations: 231.4 kB / 0.522 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1231, allocations: 12.25 kB / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1232, allocations: 0 / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.1234, allocations: 49.64 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1235, allocations: 39.92 kB / 0.5221 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.1261, allocations: 2.783 MB / 0.5248 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1262, allocations: 23.88 kB / 0.5248 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1262, allocations: 7.938 kB / 0.5249 GB, free: 13.88 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.1264, allocations: 133.9 kB / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.1264, allocations: 11.95 kB / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.1265, allocations: 20.64 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1265, allocations: 4 kB / 0.525 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1265, allocations: 0 / 0.525 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1265, allocations: 4 kB / 0.525 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1268, allocations: 192.7 kB / 0.5252 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1268, allocations: 0 / 0.5252 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.127, allocations: 31.92 kB / 0.5252 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.1271, allocations: 53.69 kB / 0.5253 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1271, allocations: 7.938 kB / 0.5253 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.1296, allocations: 2.783 MB / 0.528 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1296, allocations: 0 / 0.528 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.13, allocations: 368.4 kB / 0.5284 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1301, allocations: 7.953 kB / 0.5284 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1301, allocations: 8.062 kB / 0.5284 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1302, allocations: 3.938 kB / 0.5284 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1302, allocations: 15.97 kB / 0.5284 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1303, allocations: 4 kB / 0.5284 GB, free: 9.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.1303, allocations: 103.1 kB / 0.5285 GB, free: 9.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1303, allocations: 3.938 kB / 0.5285 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.1308, allocations: 59.89 kB / 0.5286 GB, free: 9.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,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.0008286/0.1316, allocations: 0.893 MB / 0.5294 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.1323, allocations: 349.2 kB / 0.5298 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1323, allocations: 0 / 0.5298 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1326, allocations: 285.8 kB / 0.53 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1331, allocations: 36.48 kB / 0.5301 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1361, allocations: 2.334 MB / 0.5324 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1365, allocations: 0.7242 MB / 0.5331 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.1366, allocations: 9.422 kB / 0.5331 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.1366, allocations: 43.42 kB / 0.5331 GB, free: 4.844 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1366, allocations: 0 / 0.5331 GB, free: 4.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.1746, allocations: 3.929 MB / 0.5369 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.11, allocations: 11.95 kB / 0.537 GB, free: 0.9023 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.47716657199635]