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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 223.7 kB / 22.93 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 230.2 MB / 256.2 MB, free: 8.742 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1968/0.1968, allocations: 46.89 MB / 359.3 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002087/0.002087, allocations: 80.06 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2536, allocations: 65.99 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002759/0.2563, allocations: 1.864 MB / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.2567, allocations: 151.4 kB / 0.5604 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.2567, allocations: 8 kB / 0.5604 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.904e-05/0.2568, allocations: 19.73 kB / 0.5604 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2569, allocations: 55.55 kB / 0.5604 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.2571, allocations: 35.95 kB / 0.5605 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2573, allocations: 187.1 kB / 0.5607 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2574, allocations: 41.53 kB / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.2575, allocations: 67.78 kB / 0.5608 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2576, allocations: 71.64 kB / 0.5608 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.2576, allocations: 20 kB / 0.5609 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.504e-05/0.2577, allocations: 12 kB / 0.5609 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.2577, allocations: 35.91 kB / 0.5609 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.2578, allocations: 87.59 kB / 0.561 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.258, allocations: 185 kB / 0.5612 GB, free: 2.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.258, allocations: 0 / 0.5612 GB, free: 2.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.258, allocations: 0 / 0.5612 GB, free: 2.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.258, allocations: 0 / 0.5612 GB, free: 2.375 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.0005884/0.2586, allocations: 459.1 kB / 0.5616 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2587, allocations: 12.03 kB / 0.5616 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.2587, allocations: 46.73 kB / 0.5617 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.2588, allocations: 20.78 kB / 0.5617 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.259, allocations: 208.1 kB / 0.5619 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.259, allocations: 12.7 kB / 0.5619 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.259, allocations: 20.33 kB / 0.5619 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.2593, allocations: 170.1 kB / 0.5621 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2593, allocations: 11.88 kB / 0.5621 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.2593, allocations: 8 kB / 0.5621 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2594, allocations: 4 kB / 0.5621 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2595, allocations: 91.44 kB / 0.5622 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.2603, allocations: 0.6035 MB / 0.5628 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.2606, allocations: 133.1 kB / 0.5629 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.2606, allocations: 49.7 kB / 0.5629 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2606, allocations: 4 kB / 0.5629 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2607, allocations: 38.67 kB / 0.563 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.2607, allocations: 0 / 0.563 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000798/0.2615, allocations: 381.3 kB / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2615, allocations: 77.11 kB / 0.5634 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2616, allocations: 129.6 kB / 0.5635 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2617, allocations: 33.7 kB / 0.5636 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.2617, allocations: 132.2 kB / 0.5637 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.2618, allocations: 63.47 kB / 0.5638 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.2618, allocations: 33.72 kB / 0.5638 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.262, allocations: 326.8 kB / 0.5641 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.262, allocations: 35.98 kB / 0.5641 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2622, allocations: 107.8 kB / 0.5642 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.2623, allocations: 152.8 kB / 0.5644 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2623, allocations: 0 / 0.5644 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003489/0.2627, allocations: 227.1 kB / 0.5646 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2627, allocations: 8 kB / 0.5646 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2627, allocations: 0 / 0.5646 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.2629, allocations: 53.62 kB / 0.5647 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2631, allocations: 31.98 kB / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.2652, allocations: 2.999 MB / 0.5676 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.2653, allocations: 20.05 kB / 0.5676 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2653, allocations: 8 kB / 0.5676 GB, free: 11.07 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.0001144/0.2654, allocations: 133.7 kB / 0.5678 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.2655, allocations: 11.91 kB / 0.5678 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.2655, allocations: 24.64 kB / 0.5678 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2655, allocations: 4 kB / 0.5678 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2655, allocations: 4 kB / 0.5678 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2655, allocations: 0 / 0.5678 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.2658, allocations: 233.5 kB / 0.568 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.2658, allocations: 7.984 kB / 0.568 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.266, allocations: 20 kB / 0.5681 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.2661, allocations: 49.62 kB / 0.5681 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2661, allocations: 11.94 kB / 0.5681 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.2682, allocations: 2.974 MB / 0.571 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2682, allocations: 0 / 0.571 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.2687, allocations: 372.6 kB / 0.5714 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.2687, allocations: 92.98 kB / 0.5715 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2687, allocations: 8.062 kB / 0.5715 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2688, allocations: 4.062 kB / 0.5715 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.2689, allocations: 11.98 kB / 0.5715 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2689, allocations: 12 kB / 0.5715 GB, free: 6.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.2689, allocations: 99.27 kB / 0.5716 GB, free: 6.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2689, allocations: 0 / 0.5716 GB, free: 6.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.2694, allocations: 55.89 kB / 0.5717 GB, free: 6.578 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.0007358/0.2701, allocations: 0.9047 MB / 0.5725 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005964/0.2707, allocations: 353.6 kB / 0.5729 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2707, allocations: 4.062 kB / 0.5729 GB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.271, allocations: 277.3 kB / 0.5731 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.2715, allocations: 31.91 kB / 0.5732 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.2741, allocations: 2.323 MB / 0.5754 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2745, allocations: 0.7242 MB / 0.5762 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.2745, allocations: 17.41 kB / 0.5762 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.2746, allocations: 39.42 kB / 0.5762 GB, free: 1.652 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2746, allocations: 0 / 0.5762 GB, free: 1.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.3085, allocations: 3.752 MB / 0.5799 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.206, allocations: 11.88 kB / 0.5799 GB, free: 13.99 MB / 430.1 MB " [Timeout remaining time 651] (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.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.69118139699276]