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.001309/0.001309, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001583/0.001583, allocations: 217.9 kB / 22.99 MB, free: 5.582 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.473/1.473, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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.2447/0.2447, allocations: 46.9 MB / 359.4 MB, free: 4.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002428/0.002428, allocations: 91.84 kB / 0.4941 GB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3674, allocations: 65.98 MB / 0.5586 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003436/0.3708, allocations: 1.868 MB / 0.5604 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004104/0.3712, allocations: 155.4 kB / 0.5605 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.3713, allocations: 8 kB / 0.5605 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.3714, allocations: 19.8 kB / 0.5606 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3715, allocations: 55.48 kB / 0.5606 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3717, allocations: 35.95 kB / 0.5606 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.372, allocations: 187.1 kB / 0.5608 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3721, allocations: 41.53 kB / 0.5609 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3723, allocations: 71.78 kB / 0.5609 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3724, allocations: 71.62 kB / 0.561 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3724, allocations: 20 kB / 0.561 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.3725, allocations: 16 kB / 0.561 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3725, allocations: 27.92 kB / 0.5611 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.3726, allocations: 87.55 kB / 0.5611 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3728, allocations: 185.1 kB / 0.5613 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3729, allocations: 4 kB / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3729, allocations: 0 / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3729, allocations: 0 / 0.5613 GB, free: 2.352 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.0007006/0.3736, allocations: 459 kB / 0.5618 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3736, allocations: 12.03 kB / 0.5618 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.3737, allocations: 46.73 kB / 0.5618 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3737, allocations: 24.78 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.374, allocations: 208.1 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.374, allocations: 8.703 kB / 0.562 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.374, allocations: 20.33 kB / 0.5621 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.3744, allocations: 166.2 kB / 0.5622 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3744, allocations: 7.938 kB / 0.5622 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3744, allocations: 12 kB / 0.5622 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3744, allocations: 4 kB / 0.5622 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3746, allocations: 87.88 kB / 0.5623 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.3755, allocations: 0.6035 MB / 0.5629 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3758, allocations: 133.1 kB / 0.563 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/0.3759, allocations: 49.69 kB / 0.5631 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3759, allocations: 4 kB / 0.5631 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3759, allocations: 30.56 kB / 0.5631 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3759, allocations: 0 / 0.5631 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009457/0.3768, allocations: 385.5 kB / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3769, allocations: 77.11 kB / 0.5636 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.377, allocations: 133.1 kB / 0.5637 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3771, allocations: 33.64 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.3772, allocations: 128.2 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.3772, allocations: 59.48 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.3773, allocations: 38.08 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3775, allocations: 326.8 kB / 0.5643 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.3775, allocations: 35.98 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3777, allocations: 109.7 kB / 0.5644 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.3779, allocations: 152.5 kB / 0.5645 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3779, allocations: 4 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003943/0.3783, allocations: 219.1 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3783, allocations: 8 kB / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3783, allocations: 0 / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.3785, allocations: 49.69 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3787, allocations: 35.92 kB / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.3816, allocations: 3.003 MB / 0.5678 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3817, allocations: 20.05 kB / 0.5678 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3817, allocations: 8 kB / 0.5678 GB, free: 11.05 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.0001509/0.3819, allocations: 133.7 kB / 0.5679 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.382, allocations: 11.91 kB / 0.5679 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.382, allocations: 24.64 kB / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.382, allocations: 4 kB / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.382, allocations: 0 / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.382, allocations: 0 / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.3823, allocations: 237.5 kB / 0.5682 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3823, allocations: 0 / 0.5682 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3825, allocations: 23.98 kB / 0.5682 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.3826, allocations: 49.69 kB / 0.5683 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.3827, allocations: 7.938 kB / 0.5683 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3854, allocations: 2.982 MB / 0.5712 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3854, allocations: 0 / 0.5712 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.3859, allocations: 372.6 kB / 0.5715 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.386, allocations: 92.94 kB / 0.5716 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.386, allocations: 12.05 kB / 0.5716 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3861, allocations: 3.938 kB / 0.5716 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3861, allocations: 11.98 kB / 0.5717 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3862, allocations: 8 kB / 0.5717 GB, free: 6.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.3862, allocations: 99.27 kB / 0.5718 GB, free: 6.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3862, allocations: 0 / 0.5718 GB, free: 6.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.3867, allocations: 55.89 kB / 0.5718 GB, free: 6.559 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.0008424/0.3876, allocations: 0.8968 MB / 0.5727 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.3883, allocations: 353.6 kB / 0.573 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3883, allocations: 4.062 kB / 0.573 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.3886, allocations: 277.3 kB / 0.5733 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3891, allocations: 42.59 kB / 0.5733 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.3923, allocations: 2.327 MB / 0.5756 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.3927, allocations: 0.7281 MB / 0.5763 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.3928, allocations: 17.41 kB / 0.5763 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.3929, allocations: 39.42 kB / 0.5764 GB, free: 1.633 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3929, allocations: 0 / 0.5764 GB, free: 1.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4274, allocations: 3.756 MB / 0.58 GB, free: 13.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.02, allocations: 17.98 kB / 0.5801 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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: 13.932792804989731] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 11.103582309006015 11.123538108 10.746364584 Calling exit ...