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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 105.1 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 191.8 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2211/0.2211, allocations: 43.54 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.88 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003053/0.1133, allocations: 1.862 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.1137, allocations: 139.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.1138, allocations: 7.938 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.6e-05/0.1139, allocations: 23.78 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.114, allocations: 51.55 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.1142, allocations: 43.88 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1144, allocations: 175.2 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1146, allocations: 69.48 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.1147, allocations: 63.73 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1148, allocations: 75.64 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1148, allocations: 16 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.1149, allocations: 12 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1149, allocations: 39.89 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.115, allocations: 79.61 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1153, allocations: 183.2 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1153, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1153, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1153, allocations: 4 kB / 0.4901 GB, free: 9.469 MB / 382.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.0006421/0.116, allocations: 458.5 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.116, allocations: 15.88 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.1161, allocations: 50.67 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1161, allocations: 24.8 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1164, allocations: 208.2 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1164, allocations: 8.703 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1164, allocations: 16.38 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1167, allocations: 174.1 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1168, allocations: 7.938 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1168, allocations: 4 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1168, allocations: 4 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.117, allocations: 87.89 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/0.1178, allocations: 0.6151 MB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1181, allocations: 133.2 kB / 0.4919 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.1182, allocations: 57.77 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1182, allocations: 0 / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1183, allocations: 42.56 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.1183, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008525/0.1191, allocations: 377.3 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1192, allocations: 77.11 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1193, allocations: 130.1 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1193, allocations: 29.7 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1194, allocations: 132.2 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.1195, allocations: 59.48 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.1196, allocations: 37.7 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1197, allocations: 322.8 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1198, allocations: 39.98 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1199, allocations: 116.3 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1201, allocations: 152.6 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1202, allocations: 0 / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004091/0.1206, allocations: 235.2 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1206, allocations: 8 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1206, allocations: 0 / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.1208, allocations: 53.94 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.121, allocations: 40.02 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.1235, allocations: 2.998 MB / 0.4966 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/0.1236, allocations: 19.84 kB / 0.4966 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1236, allocations: 8 kB / 0.4967 GB, free: 2.117 MB / 382.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.0001531/0.1238, allocations: 125.8 kB / 0.4968 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.1238, allocations: 11.95 kB / 0.4968 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.1239, allocations: 20.75 kB / 0.4968 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1239, allocations: 4 kB / 0.4968 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1239, allocations: 3.938 kB / 0.4968 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1239, allocations: 3.984 kB / 0.4968 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.1243, allocations: 237.5 kB / 0.497 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1243, allocations: 0 / 0.497 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1244, allocations: 23.98 kB / 0.4971 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.1246, allocations: 49.69 kB / 0.4971 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1246, allocations: 7.938 kB / 0.4971 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.127, allocations: 2.974 MB / 0.5 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.127, allocations: 0 / 0.5 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.1274, allocations: 376.4 kB / 0.5004 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.1275, allocations: 89 kB / 0.5005 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1275, allocations: 8.125 kB / 0.5005 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1277, allocations: 3.938 kB / 0.5005 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1277, allocations: 19.92 kB / 0.5005 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1277, allocations: 7.984 kB / 0.5005 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.1278, allocations: 95.27 kB / 0.5006 GB, free: 13.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1278, allocations: 0 / 0.5006 GB, free: 13.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.1283, allocations: 55.89 kB / 0.5007 GB, free: 13.64 MB / 398.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.0007886/0.1291, allocations: 0.9048 MB / 0.5015 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.1297, allocations: 349.5 kB / 0.5019 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1297, allocations: 7.938 kB / 0.5019 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.1301, allocations: 285.4 kB / 0.5022 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.1306, allocations: 32.02 kB / 0.5022 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.1335, allocations: 2.335 MB / 0.5045 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1339, allocations: 0.7242 MB / 0.5052 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.134, allocations: 9.438 kB / 0.5052 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.1341, allocations: 43.42 kB / 0.5052 GB, free: 8.703 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1341, allocations: 0 / 0.5052 GB, free: 8.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.1684, allocations: 3.757 MB / 0.5089 GB, free: 4.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.22, allocations: 3.984 kB / 0.5089 GB, free: 4.938 MB / 398.1 MB (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.00044 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) 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) Reference file matches