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.001533/0.001533, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001899/0.001899, allocations: 181 kB / 18.71 MB, free: 4.207 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2284/0.2284, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3743, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002943/0.3773, allocations: 1.845 MB / 0.5202 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.3777, allocations: 152.1 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.3778, allocations: 2.531 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.5e-05/0.3779, allocations: 24.38 kB / 0.5204 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.378, allocations: 54 kB / 0.5204 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.3782, allocations: 37.95 kB / 0.5205 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3784, allocations: 188.1 kB / 0.5207 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3785, allocations: 61.88 kB / 0.5207 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3786, allocations: 69.67 kB / 0.5208 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3788, allocations: 71.41 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3788, allocations: 14.56 kB / 0.5209 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.3788, allocations: 13.91 kB / 0.5209 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.3789, allocations: 37.66 kB / 0.5209 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.3789, allocations: 80.44 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3792, allocations: 187.2 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3792, allocations: 1.156 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3792, allocations: 4 kB / 0.5212 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3792, allocations: 0 / 0.5212 GB, free: 1.48 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.0004843/0.3797, allocations: 455.9 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3798, allocations: 10.11 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3798, allocations: 52.27 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3798, allocations: 17.22 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.38, allocations: 205.6 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.38, allocations: 14.61 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.3801, allocations: 20.56 kB / 0.5219 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.3804, allocations: 164.5 kB / 0.5221 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3804, allocations: 9.703 kB / 0.5221 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3804, allocations: 6.094 kB / 0.5221 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3804, allocations: 3.812 kB / 0.5221 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.3806, allocations: 92.02 kB / 0.5222 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.3813, allocations: 0.6084 MB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3815, allocations: 127.3 kB / 0.5229 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.3816, allocations: 56.03 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3816, allocations: 1.125 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3817, allocations: 41.27 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3817, allocations: 0 / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008478/0.3826, allocations: 380.9 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3826, allocations: 80.86 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3828, allocations: 132.8 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3828, allocations: 26.89 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.3829, allocations: 129.5 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3829, allocations: 59.28 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.383, allocations: 42.22 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3832, allocations: 325 kB / 0.5241 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.3832, allocations: 39.56 kB / 0.5241 GB, free: 14.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3834, allocations: 99.42 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3836, allocations: 158.2 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3836, allocations: 6.125 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003788/0.384, allocations: 223.5 kB / 0.5246 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.384, allocations: 5.969 kB / 0.5246 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.384, allocations: 4.547 kB / 0.5246 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.3842, allocations: 52.16 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3844, allocations: 38.77 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.3867, allocations: 2.992 MB / 0.5276 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3869, allocations: 13.23 kB / 0.5276 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3869, allocations: 11.34 kB / 0.5276 GB, free: 11.48 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.000126/0.387, allocations: 127.6 kB / 0.5278 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.3871, allocations: 18.19 kB / 0.5278 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.3872, allocations: 19.64 kB / 0.5278 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3872, allocations: 1.812 kB / 0.5278 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3872, allocations: 1.781 kB / 0.5278 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3872, allocations: 1.359 kB / 0.5278 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.3875, allocations: 233 kB / 0.528 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3875, allocations: 5.906 kB / 0.528 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3877, allocations: 32.31 kB / 0.5281 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.3878, allocations: 53.52 kB / 0.5281 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3879, allocations: 10.75 kB / 0.5281 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.39, allocations: 2.978 MB / 0.531 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.39, allocations: 3.984 kB / 0.531 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.3904, allocations: 372.7 kB / 0.5314 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.3905, allocations: 96.31 kB / 0.5315 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3905, allocations: 3.359 kB / 0.5315 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3906, allocations: 8 kB / 0.5315 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3907, allocations: 13.75 kB / 0.5315 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3907, allocations: 4.609 kB / 0.5315 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.3908, allocations: 104.2 kB / 0.5316 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3908, allocations: 0 / 0.5316 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.3913, allocations: 57.27 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.0007168/0.392, allocations: 0.8974 MB / 0.5325 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.3926, allocations: 349.9 kB / 0.5329 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3926, allocations: 0 / 0.5329 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.393, allocations: 290.7 kB / 0.5332 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.3935, allocations: 35.14 kB / 0.5332 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3963, allocations: 2.32 MB / 0.5355 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3967, allocations: 0.726 MB / 0.5362 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.629e-05/0.3967, allocations: 13.86 kB / 0.5362 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3968, allocations: 40.7 kB / 0.5362 GB, free: 3.492 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3968, allocations: 0 / 0.5362 GB, free: 3.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.4253, allocations: 3.769 MB / 0.5399 GB, free: 1.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.49, allocations: 18.75 kB / 0.5399 GB, free: 1.703 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