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.001408/0.001408, allocations: 106.5 kB / 16.41 MB, free: 6.449 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.001378/0.001378, allocations: 190.9 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.294/1.294, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1907/0.1907, allocations: 43.53 MB / 314.1 MB, free: 440 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.001618/0.001618, allocations: 65.45 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1052, 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.003107/0.1084, allocations: 1.854 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.1089, allocations: 147.5 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.109, allocations: 7.938 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.322e-05/0.1091, allocations: 23.78 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1093, allocations: 51.55 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1095, allocations: 35.95 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1097, allocations: 183.1 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1099, allocations: 61.72 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1101, allocations: 75.72 kB / 0.4897 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1102, allocations: 79.64 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1102, allocations: 12 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.1103, allocations: 16 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1103, allocations: 35.89 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.1104, allocations: 83.61 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1107, allocations: 179.4 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1107, allocations: 0 / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1107, allocations: 0 / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1107, allocations: 4 kB / 0.4901 GB, free: 9.457 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.0005666/0.1113, allocations: 451.2 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1113, allocations: 11.89 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.1114, allocations: 54.73 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1114, allocations: 16.75 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1116, allocations: 212 kB / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1117, allocations: 12.7 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1117, allocations: 20.31 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.112, allocations: 170.1 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.112, allocations: 15.84 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.112, allocations: 7.984 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.112, allocations: 4 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1122, allocations: 87.95 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.113, allocations: 0.6033 MB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1132, allocations: 133.1 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.1133, allocations: 53.64 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1134, allocations: 4.188 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1134, allocations: 34.5 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1134, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008093/0.1142, allocations: 381.2 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1143, allocations: 81.11 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1144, allocations: 141.7 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1144, allocations: 25.7 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1145, allocations: 132 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1146, allocations: 47.27 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.1146, allocations: 41.7 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.1147, allocations: 322.8 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.1148, allocations: 35.98 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.1149, allocations: 112.3 kB / 0.4932 GB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1151, allocations: 160.4 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1151, allocations: 0 / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003779/0.1155, allocations: 223.4 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1155, allocations: 4 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1155, allocations: 4 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.1157, allocations: 49.88 kB / 0.4936 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1159, allocations: 36.06 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.118, allocations: 3.013 MB / 0.4966 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.1181, allocations: 11.84 kB / 0.4966 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1182, allocations: 12 kB / 0.4966 GB, free: 2.121 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.1183, allocations: 129.8 kB / 0.4968 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1184, allocations: 7.906 kB / 0.4968 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.1184, allocations: 20.8 kB / 0.4968 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1184, allocations: 3.984 kB / 0.4968 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1184, allocations: 8.062 kB / 0.4968 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1184, allocations: 0 / 0.4968 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1187, allocations: 229.5 kB / 0.497 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1187, allocations: 0 / 0.497 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1189, allocations: 31.92 kB / 0.497 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.1191, allocations: 41.7 kB / 0.4971 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1191, allocations: 15.92 kB / 0.4971 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.121, allocations: 2.982 MB / 0.5 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1211, allocations: 0 / 0.5 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.1215, allocations: 376.2 kB / 0.5004 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1215, allocations: 96.92 kB / 0.5005 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1216, allocations: 4 kB / 0.5005 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1217, allocations: 7.938 kB / 0.5005 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1217, allocations: 11.98 kB / 0.5005 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1217, allocations: 4 kB / 0.5005 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.1218, allocations: 103.2 kB / 0.5006 GB, free: 13.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1218, allocations: 0 / 0.5006 GB, free: 13.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004665/0.1223, allocations: 59.78 kB / 0.5006 GB, free: 13.63 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.0006885/0.123, allocations: 0.889 MB / 0.5015 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.1236, allocations: 361.6 kB / 0.5019 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1236, allocations: 3.938 kB / 0.5019 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1239, allocations: 285.5 kB / 0.5021 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.00053/0.1244, allocations: 27.97 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.002577/0.127, allocations: 2.312 MB / 0.5044 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1273, allocations: 0.7319 MB / 0.5051 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.1274, allocations: 5.438 kB / 0.5051 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1275, allocations: 43.42 kB / 0.5052 GB, free: 8.723 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1275, allocations: 0 / 0.5052 GB, free: 8.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.1573, allocations: 3.819 MB / 0.5089 GB, free: 4.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/9.736, allocations: 4 kB / 0.5089 GB, free: 4.898 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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