Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_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.001405/0.001405, allocations: 118 kB / 17.78 MB, free: 5.125 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.001405/0.001405, allocations: 183 kB / 18.71 MB, free: 4.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 44.2 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4252, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002929/0.4282, allocations: 1.843 MB / 0.5202 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.4286, allocations: 155 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.4287, allocations: 2.75 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.038e-05/0.4288, allocations: 23.97 kB / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.429, allocations: 52.91 kB / 0.5204 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.4291, allocations: 35.08 kB / 0.5205 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.4294, allocations: 197.2 kB / 0.5207 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4296, allocations: 49.31 kB / 0.5207 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.4297, allocations: 67.62 kB / 0.5208 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4298, allocations: 71.3 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.4299, allocations: 19.06 kB / 0.5209 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.648e-05/0.4299, allocations: 14.03 kB / 0.5209 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.43, allocations: 33 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.4301, allocations: 83.69 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.4304, allocations: 188.1 kB / 0.5212 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4304, allocations: 0 / 0.5212 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4304, allocations: 1.312 kB / 0.5212 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4304, allocations: 0 / 0.5212 GB, free: 1.477 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.000663/0.4311, allocations: 460.1 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.4312, allocations: 8.781 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.4312, allocations: 52.28 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.4313, allocations: 17.84 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4315, allocations: 205.8 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4315, allocations: 11.23 kB / 0.5219 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.4316, allocations: 23.97 kB / 0.5219 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.4319, allocations: 163.4 kB / 0.5221 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.432, allocations: 14.52 kB / 0.5221 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.432, allocations: 9.031 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.432, allocations: 4.719 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4322, allocations: 84.28 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.433, allocations: 0.6034 MB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.4332, allocations: 139.5 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4334, allocations: 56.41 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.4334, allocations: 2.219 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4334, allocations: 32.23 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.4334, allocations: 0 / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009295/0.4344, allocations: 385.8 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.4345, allocations: 83.23 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4346, allocations: 133.8 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4347, allocations: 29.7 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.4348, allocations: 130.6 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.4348, allocations: 54.48 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.4349, allocations: 37.62 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4351, allocations: 326.2 kB / 0.5241 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.4352, allocations: 35.91 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.4353, allocations: 103.2 kB / 0.5242 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4355, allocations: 162.9 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4355, allocations: 0 / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004033/0.4359, allocations: 228.7 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.436, allocations: 7.328 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.436, allocations: 2.438 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.4362, allocations: 47.91 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4364, allocations: 36.17 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.4394, allocations: 2.992 MB / 0.5276 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4395, allocations: 21.5 kB / 0.5276 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.4395, allocations: 6.375 kB / 0.5277 GB, free: 11.47 MB / 398.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.0001591/0.4397, allocations: 130.9 kB / 0.5278 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.4397, allocations: 10.33 kB / 0.5278 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.4398, allocations: 20.64 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4398, allocations: 1.25 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4398, allocations: 1.375 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4398, allocations: 7.484 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.4402, allocations: 237.2 kB / 0.528 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4402, allocations: 0 / 0.528 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.4404, allocations: 28.78 kB / 0.5281 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.4406, allocations: 50.7 kB / 0.5281 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4406, allocations: 17.41 kB / 0.5281 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.4432, allocations: 2.97 MB / 0.531 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4432, allocations: 0.7031 kB / 0.531 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.4437, allocations: 376.9 kB / 0.5314 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.4438, allocations: 92.22 kB / 0.5315 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4438, allocations: 7.516 kB / 0.5315 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.444, allocations: 3.938 kB / 0.5315 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.444, allocations: 17.77 kB / 0.5315 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.444, allocations: 4.734 kB / 0.5315 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.416e-05/0.4441, allocations: 100.4 kB / 0.5316 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4442, allocations: 0 / 0.5316 GB, free: 7.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005008/0.4447, allocations: 54.52 kB / 0.5317 GB, free: 7.551 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.0008598/0.4455, allocations: 0.9083 MB / 0.5325 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.4462, allocations: 349.6 kB / 0.5329 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4462, allocations: 4.062 kB / 0.5329 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.4466, allocations: 293.7 kB / 0.5332 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.4472, allocations: 35.94 kB / 0.5332 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.4503, allocations: 2.315 MB / 0.5355 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.4507, allocations: 0.7269 MB / 0.5362 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.4508, allocations: 13.06 kB / 0.5362 GB, free: 3.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/0.4509, allocations: 40.44 kB / 0.5362 GB, free: 3.484 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4509, allocations: 3.938 kB / 0.5362 GB, free: 3.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.485, allocations: 3.76 MB / 0.5399 GB, free: 1.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.18, allocations: 10.78 kB / 0.5399 GB, free: 1.715 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches