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.001411/0.001411, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001639/0.001639, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2043/0.2043, allocations: 43.53 MB / 314.1 MB, free: 468 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.001567/0.001567, allocations: 71.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09635, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002846/0.09924, allocations: 1.847 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.0997, allocations: 151.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.09983, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.13e-05/0.09995, allocations: 23.73 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1001, allocations: 51.55 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.1003, allocations: 43.94 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1005, allocations: 183.1 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1007, allocations: 53.52 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1008, allocations: 75.77 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.101, allocations: 75.64 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.101, allocations: 16 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.896e-05/0.1011, allocations: 12 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.1011, allocations: 31.92 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.1012, allocations: 83.59 kB / 0.49 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1014, allocations: 187.2 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1015, allocations: 0 / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1015, allocations: 0 / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1015, allocations: 0 / 0.4901 GB, free: 9.492 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.0006137/0.1021, allocations: 459.1 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1022, allocations: 11.89 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1022, allocations: 50.73 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1023, allocations: 24.8 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1025, allocations: 200.2 kB / 0.4908 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1025, allocations: 8.703 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.1025, allocations: 20.38 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1028, allocations: 178.1 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1029, allocations: 3.938 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1029, allocations: 4 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1029, allocations: 7.938 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1031, allocations: 91.94 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.1039, allocations: 0.619 MB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1041, allocations: 129.2 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.1042, allocations: 57.7 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.1042, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1042, allocations: 38.69 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1042, allocations: 4 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007929/0.105, allocations: 381.3 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1051, allocations: 81.11 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1052, allocations: 129.8 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1052, allocations: 29.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1053, allocations: 128.2 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1054, allocations: 63.47 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1054, allocations: 33.72 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.1055, allocations: 326.8 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.1056, allocations: 35.98 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.1057, allocations: 116.3 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1059, allocations: 152.8 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1059, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003831/0.1063, allocations: 226.9 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1063, allocations: 8 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1063, allocations: 3.984 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1065, allocations: 53.62 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1067, allocations: 40.23 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.1089, allocations: 2.998 MB / 0.4966 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.109, allocations: 15.84 kB / 0.4966 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1091, allocations: 12 kB / 0.4967 GB, free: 2.141 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.0001196/0.1092, allocations: 125.8 kB / 0.4968 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.1092, allocations: 11.95 kB / 0.4968 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.1093, allocations: 20.64 kB / 0.4968 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1093, allocations: 8.062 kB / 0.4968 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1093, allocations: 4 kB / 0.4968 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1093, allocations: 0 / 0.4968 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1096, allocations: 233.5 kB / 0.497 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1096, allocations: 0 / 0.497 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1098, allocations: 27.92 kB / 0.4971 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.11, allocations: 49.69 kB / 0.4971 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.11, allocations: 7.938 kB / 0.4971 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.1121, allocations: 2.978 MB / 0.5 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1122, allocations: 4.062 kB / 0.5 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1127, allocations: 376 kB / 0.5004 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1127, allocations: 97.05 kB / 0.5005 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1128, allocations: 0 / 0.5005 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1129, allocations: 3.938 kB / 0.5005 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1129, allocations: 19.98 kB / 0.5005 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1129, allocations: 8.125 kB / 0.5005 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.113, allocations: 99.27 kB / 0.5006 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.113, allocations: 0 / 0.5006 GB, free: 13.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000465/0.1135, allocations: 51.89 kB / 0.5007 GB, free: 13.66 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.0006605/0.1142, allocations: 0.9164 MB / 0.5016 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.1147, allocations: 345.5 kB / 0.5019 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1147, allocations: 7.938 kB / 0.5019 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.115, allocations: 285.3 kB / 0.5022 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.1155, allocations: 26.48 kB / 0.5022 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.1181, allocations: 2.332 MB / 0.5045 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1184, allocations: 0.7242 MB / 0.5052 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.1185, allocations: 9.422 kB / 0.5052 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.1185, allocations: 43.42 kB / 0.5052 GB, free: 8.719 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1186, allocations: 4 kB / 0.5052 GB, free: 8.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1457, allocations: 3.753 MB / 0.5089 GB, free: 4.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.261/9.406, allocations: 4 kB / 0.5089 GB, free: 4.957 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