Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001858, allocations: 118.7 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002187/0.002187, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 87.84 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3934, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003206/0.3966, allocations: 1.869 MB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.397, allocations: 144.3 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.3971, allocations: 3.375 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.3972, allocations: 25.34 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3973, allocations: 54.8 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3975, allocations: 35.02 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3977, allocations: 188.4 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3979, allocations: 68.98 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.398, allocations: 62.05 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3981, allocations: 74.75 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3982, allocations: 14.75 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.3982, allocations: 13.97 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.3982, allocations: 39.88 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.3983, allocations: 83.7 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3986, allocations: 183.4 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3986, allocations: 1.406 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3986, allocations: 0 / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3986, allocations: 0 / 0.5334 GB, free: 11.24 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.0005978/0.3992, allocations: 456.9 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3993, allocations: 13.91 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.3993, allocations: 52.42 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3994, allocations: 16.97 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3996, allocations: 207.9 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3996, allocations: 15.61 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3997, allocations: 19.98 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.4, allocations: 173.5 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4, allocations: 5.406 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4, allocations: 5.562 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4, allocations: 3.469 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4002, allocations: 91.36 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.4011, allocations: 0.6071 MB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.4013, allocations: 133.5 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.4014, allocations: 47.7 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4014, allocations: 1.375 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.4015, allocations: 45.44 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4015, allocations: 0 / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008023/0.4023, allocations: 376.3 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.4023, allocations: 78.48 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4025, allocations: 130.7 kB / 0.5357 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4025, allocations: 25.7 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.4026, allocations: 136.4 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.4026, allocations: 58.36 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.4027, allocations: 42.08 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4029, allocations: 321.6 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.4029, allocations: 40.61 kB / 0.5363 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4031, allocations: 103.7 kB / 0.5364 GB, free: 8.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.4033, allocations: 158.6 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4033, allocations: 1.062 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003772/0.4037, allocations: 223.1 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4037, allocations: 6.531 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4037, allocations: 1.281 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.4039, allocations: 58.44 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4041, allocations: 36.02 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.4065, allocations: 2.994 MB / 0.5398 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.4066, allocations: 17.77 kB / 0.5398 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.4066, allocations: 6.281 kB / 0.5398 GB, free: 4.918 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.0001301/0.4068, allocations: 137.8 kB / 0.54 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.4068, allocations: 16.94 kB / 0.54 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.4069, allocations: 23.59 kB / 0.54 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4069, allocations: 2.188 kB / 0.54 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4069, allocations: 1.094 kB / 0.54 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4069, allocations: 4.953 kB / 0.54 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.4072, allocations: 227.4 kB / 0.5402 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4072, allocations: 1.062 kB / 0.5402 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.4074, allocations: 33.17 kB / 0.5403 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.4075, allocations: 51.09 kB / 0.5403 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4076, allocations: 10.41 kB / 0.5403 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.4098, allocations: 2.983 MB / 0.5432 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4099, allocations: 3.984 kB / 0.5432 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4103, allocations: 370.3 kB / 0.5436 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.4104, allocations: 88.38 kB / 0.5437 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4104, allocations: 6.344 kB / 0.5437 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4105, allocations: 9.094 kB / 0.5437 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.4105, allocations: 9.141 kB / 0.5437 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4106, allocations: 7.609 kB / 0.5437 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.547e-05/0.4106, allocations: 102.4 kB / 0.5438 GB, free: 0.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4106, allocations: 3.938 kB / 0.5438 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.4111, allocations: 59.02 kB / 0.5439 GB, free: 0.8555 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.0007467/0.4119, allocations: 0.8973 MB / 0.5448 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.4125, allocations: 356.5 kB / 0.5451 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4125, allocations: 0 / 0.5451 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.4128, allocations: 275.7 kB / 0.5454 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.4133, allocations: 34.06 kB / 0.5454 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.4161, allocations: 2.336 MB / 0.5477 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.4166, allocations: 0.7254 MB / 0.5484 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.4166, allocations: 10.94 kB / 0.5484 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.4167, allocations: 41.7 kB / 0.5484 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4167, allocations: 0 / 0.5484 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.4484, allocations: 3.749 MB / 0.5521 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.76, allocations: 16.2 kB / 0.5521 GB, free: 10.6 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)