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.001204/0.001204, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001361/0.001361, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.404/1.404, 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.2251/0.2251, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4114, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003372/0.4148, allocations: 1.85 MB / 0.5202 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.4152, allocations: 147.5 kB / 0.5204 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.4153, allocations: 6.219 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.704e-05/0.4154, allocations: 23.7 kB / 0.5204 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.4156, allocations: 54.33 kB / 0.5204 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.4157, allocations: 35.11 kB / 0.5205 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.416, allocations: 188.7 kB / 0.5207 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.4162, allocations: 61.38 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4163, allocations: 68.95 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4164, allocations: 76.36 kB / 0.5208 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.4165, allocations: 14.03 kB / 0.5209 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.4165, allocations: 13.91 kB / 0.5209 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.4165, allocations: 34.31 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.4166, allocations: 83.62 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4169, allocations: 192.1 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4169, allocations: 0 / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4169, allocations: 0 / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.417, allocations: 0 / 0.5212 GB, free: 1.441 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.0005473/0.4175, allocations: 456.2 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4176, allocations: 10.19 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.4176, allocations: 51.25 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4177, allocations: 18.19 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4179, allocations: 205.8 kB / 0.5219 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4179, allocations: 11.64 kB / 0.5219 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.4179, allocations: 19.48 kB / 0.5219 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.4182, allocations: 167.8 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4183, allocations: 14.73 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4183, allocations: 5.031 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4183, allocations: 4.594 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.4185, allocations: 83.64 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.4194, allocations: 0.6045 MB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4196, allocations: 135.6 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4198, allocations: 51.39 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4198, allocations: 1.75 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4199, allocations: 37.92 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.4199, allocations: 3.938 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008586/0.4207, allocations: 384.7 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.4208, allocations: 82.81 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4209, allocations: 129.3 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.421, allocations: 29.7 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.4211, allocations: 129.6 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.4211, allocations: 60.44 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.4212, allocations: 37.59 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4213, allocations: 325.1 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.4214, allocations: 36.52 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4215, allocations: 111.1 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4218, allocations: 153.6 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.4218, allocations: 1.25 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004077/0.4222, allocations: 228.5 kB / 0.5246 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4222, allocations: 5.625 kB / 0.5246 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.4222, allocations: 2.719 kB / 0.5246 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.4225, allocations: 53.08 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4226, allocations: 32.53 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.4249, allocations: 2.999 MB / 0.5276 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.425, allocations: 16.95 kB / 0.5276 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.425, allocations: 6.25 kB / 0.5277 GB, free: 11.45 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.0001341/0.4252, allocations: 136.3 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.4252, allocations: 8.734 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.4253, allocations: 22.42 kB / 0.5278 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4253, allocations: 2.031 kB / 0.5278 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4253, allocations: 4 kB / 0.5278 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4253, allocations: 4.062 kB / 0.5278 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.4257, allocations: 236.9 kB / 0.528 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4257, allocations: 0 / 0.528 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4258, allocations: 28.64 kB / 0.5281 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.426, allocations: 49.09 kB / 0.5281 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.426, allocations: 15.38 kB / 0.5281 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.4282, allocations: 2.977 MB / 0.531 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4282, allocations: 4.156 kB / 0.531 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.4287, allocations: 367.5 kB / 0.5314 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.4288, allocations: 94.12 kB / 0.5315 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4288, allocations: 6.406 kB / 0.5315 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4289, allocations: 6 kB / 0.5315 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.429, allocations: 17.58 kB / 0.5315 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.429, allocations: 2.781 kB / 0.5315 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.4291, allocations: 101.4 kB / 0.5316 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4291, allocations: 0 / 0.5316 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005238/0.4296, allocations: 54.02 kB / 0.5317 GB, free: 7.52 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.0007858/0.4304, allocations: 0.9001 MB / 0.5325 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.4311, allocations: 350.5 kB / 0.5329 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4312, allocations: 0 / 0.5329 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.4315, allocations: 290 kB / 0.5332 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.4321, allocations: 33.66 kB / 0.5332 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.4352, allocations: 2.33 MB / 0.5355 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.4355, allocations: 0.7267 MB / 0.5362 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.4356, allocations: 9.422 kB / 0.5362 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.4357, allocations: 40.31 kB / 0.5362 GB, free: 3.461 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4357, allocations: 5.219 kB / 0.5362 GB, free: 3.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.4667, allocations: 3.763 MB / 0.5399 GB, free: 1.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.48, allocations: 14.84 kB / 0.5399 GB, free: 1.68 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