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.001855/0.001855, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002506/0.002506, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.559/1.559, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2612/0.2612, allocations: 46.95 MB / 361.6 MB, free: 4.18 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.002458/0.002458, allocations: 83.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3834, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003671/0.387, allocations: 1.872 MB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.3874, allocations: 151.4 kB / 0.5635 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.3875, allocations: 4 kB / 0.5635 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.3876, allocations: 19.8 kB / 0.5635 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.3878, allocations: 55.48 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.388, allocations: 35.94 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.3882, allocations: 191.1 kB / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3884, allocations: 41.72 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3885, allocations: 67.78 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3887, allocations: 79.64 kB / 0.5639 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3887, allocations: 19.94 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.3887, allocations: 12 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3888, allocations: 31.91 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3889, allocations: 87.59 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3892, allocations: 177.1 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3892, allocations: 4 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3892, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3892, allocations: 0 / 0.5643 GB, free: 1.469 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.0006578/0.3899, allocations: 385.9 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3899, allocations: 12.03 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.39, allocations: 54.67 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.39, allocations: 16.84 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3902, allocations: 154.3 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3903, allocations: 12.7 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.3903, allocations: 20.33 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.3906, allocations: 170.1 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3906, allocations: 7.938 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3907, allocations: 8 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3907, allocations: 4 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3908, allocations: 83.95 kB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.3917, allocations: 0.5462 MB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.392, allocations: 125.2 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.3921, allocations: 53.69 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3921, allocations: 4 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3921, allocations: 30.56 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 5.199e-06/0.3921, allocations: 4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000774/0.3929, allocations: 227.4 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.393, allocations: 85.05 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3931, allocations: 129.3 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3931, allocations: 34.08 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.3932, allocations: 124.2 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3933, allocations: 67.45 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.3934, allocations: 33.72 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3935, allocations: 330.8 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.3936, allocations: 35.98 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3937, allocations: 104.6 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.394, allocations: 164.4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.394, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004074/0.3944, allocations: 215 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3944, allocations: 8 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3944, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.3946, allocations: 49.69 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3948, allocations: 44.11 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3977, allocations: 2.791 MB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3978, allocations: 15.92 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3978, allocations: 8 kB / 0.5702 GB, free: 10.83 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.0001734/0.398, allocations: 130 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.398, allocations: 15.91 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.3981, allocations: 20.66 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3981, allocations: 64 / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3981, allocations: 4 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3981, allocations: 7.984 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.3984, allocations: 200.6 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3984, allocations: 0 / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3986, allocations: 27.98 kB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.3988, allocations: 49.62 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3988, allocations: 11.94 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.4016, allocations: 2.768 MB / 0.5734 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4016, allocations: 8.188 kB / 0.5734 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.4022, allocations: 376.4 kB / 0.5737 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.4022, allocations: 11.89 kB / 0.5737 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.4022, allocations: 4 kB / 0.5737 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4023, allocations: 8 kB / 0.5737 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.4024, allocations: 15.97 kB / 0.5738 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.4024, allocations: 4 kB / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.4025, allocations: 99.27 kB / 0.5739 GB, free: 6.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4025, allocations: 0 / 0.5739 GB, free: 6.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.403, allocations: 59.89 kB / 0.5739 GB, free: 6.727 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.001123/0.4041, allocations: 0.8929 MB / 0.5748 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.4049, allocations: 345.6 kB / 0.5751 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4049, allocations: 0 / 0.5751 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.4053, allocations: 285.2 kB / 0.5754 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.4059, allocations: 27.98 kB / 0.5754 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.4092, allocations: 2.341 MB / 0.5777 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.4097, allocations: 0.7281 MB / 0.5784 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7e-05/0.4098, allocations: 9.422 kB / 0.5784 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.4098, allocations: 47.41 kB / 0.5785 GB, free: 1.801 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4098, allocations: 4 kB / 0.5785 GB, free: 1.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.4468, allocations: 3.883 MB / 0.5823 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.09, allocations: 0 / 0.5823 GB, free: 14.02 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 --stepSize=0.000219912 --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: 14.153080233372748] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 11.174987370148301 11.208203572 10.813072226 Calling exit ...