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.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.001926/0.001926, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002495/0.002495, allocations: 214.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.93 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002066/0.002066, allocations: 69.62 kB / 0.4938 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4355, allocations: 65.47 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003299/0.4388, allocations: 1.787 MB / 0.5595 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004298/0.4392, allocations: 147.4 kB / 0.5596 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.4393, allocations: 4 kB / 0.5596 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.094e-05/0.4394, allocations: 19.73 kB / 0.5596 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.4396, allocations: 63.48 kB / 0.5597 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.4397, allocations: 35.95 kB / 0.5597 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.44, allocations: 187.1 kB / 0.5599 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.4402, allocations: 37.73 kB / 0.5599 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4403, allocations: 71.78 kB / 0.56 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.4404, allocations: 71.69 kB / 0.5601 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.4404, allocations: 16 kB / 0.5601 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.4405, allocations: 19.94 kB / 0.5601 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.4405, allocations: 27.92 kB / 0.5601 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.4406, allocations: 63.73 kB / 0.5602 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.4409, allocations: 193 kB / 0.5604 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4409, allocations: 4 kB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.469e-06/0.4409, allocations: 4 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4409, allocations: 0 / 0.5604 GB, free: 4.82 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.0006357/0.4415, allocations: 381.9 kB / 0.5607 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4416, allocations: 12.03 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.566e-05/0.4416, allocations: 4.516 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.4417, allocations: 46.73 kB / 0.5608 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.4417, allocations: 16.84 kB / 0.5608 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4419, allocations: 150.3 kB / 0.561 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.442, allocations: 16.7 kB / 0.561 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.442, allocations: 24.33 kB / 0.561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.4423, allocations: 169.9 kB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4424, allocations: 4 kB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.4424, allocations: 4 kB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.4424, allocations: 8 kB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4426, allocations: 83.89 kB / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.4435, allocations: 0.5307 MB / 0.5618 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4437, allocations: 125.2 kB / 0.5619 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.4438, allocations: 53.64 kB / 0.5619 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4438, allocations: 7.922 kB / 0.562 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4439, allocations: 34.56 kB / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.4439, allocations: 0 / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008021/0.4447, allocations: 223.2 kB / 0.5622 GB, free: 2.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.4448, allocations: 85.05 kB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4449, allocations: 132.8 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4449, allocations: 25.7 kB / 0.5624 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.445, allocations: 128.2 kB / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.4451, allocations: 59.48 kB / 0.5626 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.4451, allocations: 41.7 kB / 0.5627 GB, free: 2.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4453, allocations: 322.8 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.4453, allocations: 35.98 kB / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4455, allocations: 106.2 kB / 0.5631 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.4457, allocations: 160.4 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4457, allocations: 0 / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003904/0.4461, allocations: 219.4 kB / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4461, allocations: 8 kB / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4461, allocations: 0 / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.4464, allocations: 49.78 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4465, allocations: 39.86 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.4491, allocations: 2.791 MB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4492, allocations: 15.89 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4493, allocations: 11.98 kB / 0.5663 GB, free: 14.21 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.0001614/0.4494, allocations: 137 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.4495, allocations: 15.84 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.4495, allocations: 16.72 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4495, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4495, allocations: 4 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4495, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.4499, allocations: 192.6 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4499, allocations: 0 / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.45, allocations: 23.98 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.4502, allocations: 65.59 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4502, allocations: 4 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.4526, allocations: 2.76 MB / 0.5694 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4526, allocations: 12.09 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.4531, allocations: 380.4 kB / 0.5698 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.4531, allocations: 11.89 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.4531, allocations: 3.938 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4532, allocations: 4.062 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.4533, allocations: 11.98 kB / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4533, allocations: 7.984 kB / 0.5698 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.4534, allocations: 99.27 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4534, allocations: 0 / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.4538, allocations: 55.89 kB / 0.57 GB, free: 10.12 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.0008378/0.4547, allocations: 0.8968 MB / 0.5709 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.4553, allocations: 345.3 kB / 0.5712 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4553, allocations: 256 / 0.5712 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.4557, allocations: 289.2 kB / 0.5715 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.4562, allocations: 34.92 kB / 0.5715 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.4591, allocations: 2.328 MB / 0.5738 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4593, allocations: 116.1 kB / 0.5739 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.4593, allocations: 9.438 kB / 0.5739 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.4594, allocations: 39.42 kB / 0.5739 GB, free: 5.828 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4594, allocations: 0 / 0.5739 GB, free: 5.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.4915, allocations: 4.125 MB / 0.578 GB, free: 1.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.05, allocations: 7.609 kB / 0.578 GB, free: 1.879 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.36898019898217]