Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.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.001599/0.001599, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002602/0.002602, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.597/1.597, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2346/0.2346, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",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.002353/0.002353, allocations: 87.84 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3846, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009949/0.3946, allocations: 7.544 MB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.4018, allocations: 3.397 MB / 0.5722 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.4028, allocations: 39.81 kB / 0.5722 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.4048, allocations: 0.817 MB / 0.573 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.4082, allocations: 1.319 MB / 0.5743 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.4097, allocations: 0.53 MB / 0.5748 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004287/0.414, allocations: 2.597 MB / 0.5774 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.4158, allocations: 1.162 MB / 0.5785 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.4172, allocations: 0.79 MB / 0.5793 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.419, allocations: 1.226 MB / 0.5805 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.4194, allocations: 140 kB / 0.5806 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4213, allocations: 0.9633 MB / 0.5815 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.4225, allocations: 1.032 MB / 0.5825 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.4238, allocations: 1.211 MB / 0.5837 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.4289, allocations: 4.042 MB / 0.5877 GB, free: 9.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4289, allocations: 0 / 0.5877 GB, free: 9.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4289, allocations: 0 / 0.5877 GB, free: 9.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.489e-05/0.4289, allocations: 4 kB / 0.5877 GB, free: 9.398 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005752/0.4347, allocations: 2.959 MB / 0.5906 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4347, allocations: 8.031 kB / 0.5906 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006123/0.4353, allocations: 458.5 kB / 0.591 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.4412, allocations: 1.672 MB / 0.5926 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.4443, allocations: 1.485 MB / 0.5941 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.4445, allocations: 135.4 kB / 0.5942 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/0.4449, allocations: 163.8 kB / 0.5944 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.4553, allocations: 6.456 MB / 0.6007 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-05/0.4554, allocations: 27.75 kB / 0.6007 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.4557, allocations: 83.89 kB / 0.6008 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002526/0.4582, allocations: 1.441 MB / 0.6022 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4688, allocations: 5.728 MB / 0.6078 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.5011, allocations: 26.65 MB / 0.6338 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/0.5054, allocations: 1.616 MB / 0.6354 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.5068, allocations: 0.9568 MB / 0.6363 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.5069, allocations: 24.3 kB / 0.6363 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.507, allocations: 54.77 kB / 0.6364 GB, free: 5.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.507, allocations: 0 / 0.6364 GB, free: 5.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01618/0.5231, allocations: 6.501 MB / 0.6427 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.5233, allocations: 140.9 kB / 0.6429 GB, free: 15.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.5275, allocations: 2.89 MB / 0.6457 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5277, allocations: 45.7 kB / 0.6457 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.5294, allocations: 2.194 MB / 0.6479 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.53, allocations: 476.5 kB / 0.6483 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.5311, allocations: 0.9012 MB / 0.6492 GB, free: 8.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5312, allocations: 301.1 kB / 0.6495 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.5335, allocations: 1.418 MB / 0.6509 GB, free: 6.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/0.5383, allocations: 4.287 MB / 0.6551 GB, free: 1.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008096/0.5464, allocations: 6.191 MB / 0.6611 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-05/0.5465, allocations: 35.94 kB / 0.6612 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01035/0.5569, allocations: 5.497 MB / 0.6665 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.5569, allocations: 51.98 kB / 0.6666 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.5571, allocations: 108.2 kB / 0.6667 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.5572, allocations: 136 kB / 0.6668 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/0.5614, allocations: 1.22 MB / 0.668 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002009/0.5616, allocations: 203.2 kB / 0.6682 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.5645, allocations: 243.6 kB / 0.6684 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/0.565, allocations: 280 kB / 0.6687 GB, free: 1.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00214/0.5671, allocations: 1.383 MB / 0.6701 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.5676, allocations: 250.3 kB / 0.6703 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5697, allocations: 1.234 MB / 0.6715 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.5697, allocations: 15.94 kB / 0.6715 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5697, allocations: 8 kB / 0.6715 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5697, allocations: 3.984 kB / 0.6715 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008064/0.5778, allocations: 4.534 MB / 0.6759 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5778, allocations: 4 kB / 0.676 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.5796, allocations: 367.3 kB / 0.6763 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5796, allocations: 8.531 kB / 0.6763 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.5797, allocations: 31.98 kB / 0.6763 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/0.5797, allocations: 11.98 kB / 0.6764 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.5797, allocations: 11.94 kB / 0.6764 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.5827, allocations: 2.166 MB / 0.6785 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.5833, allocations: 234.4 kB / 0.6787 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.5836, allocations: 27.98 kB / 0.6787 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.5845, allocations: 59.94 kB / 0.6788 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5846, allocations: 71.7 kB / 0.6789 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.5847, allocations: 39.92 kB / 0.6789 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003303/0.588, allocations: 1.819 MB / 0.6807 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.588, allocations: 7.938 kB / 0.6807 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003405/0.5914, allocations: 0.617 MB / 0.6813 GB, free: 4.781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00358/0.595, allocations: 2.791 MB / 0.684 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00547/0.6005, allocations: 3.145 MB / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6005, allocations: 0 / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6017, allocations: 0.7307 MB / 0.6878 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6035, allocations: 269.7 kB / 0.688 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/0.6516, allocations: 29.82 MB / 0.7172 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/0.6543, allocations: 2.209 MB / 0.7193 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003452/0.6578, allocations: 1.459 MB / 0.7208 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.6595, allocations: 1.077 MB / 0.7218 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.6595, allocations: 0 / 0.7218 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3402/0.9997, allocations: 45.05 MB / 0.7658 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.51, allocations: 8.703 kB / 0.7658 GB, free: 131.3 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_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_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.674847283400595] Failed to read output from testmodel.py, exit status != 0: ['time', 'ActuatedRevolute1.frame_b.r_0[1]', 'ActuatedRevolute1.frame_b.r_0[2]', 'ActuatedRevolute1.frame_b.r_0[3]', 'ActuatedRevolute1.frame_b.f[1]', 'ActuatedRevolute1.frame_b.f[2]', 'ActuatedRevolute1.frame_b.f[3]', 'ActuatedRevolute1.frame_b.t[1]', 'ActuatedRevolute1.frame_b.t[2]', 'ActuatedRevolute1.frame_b.t[3]', 'Multiplex3_1.y[1]', 'Multiplex3_1.y[2]', 'Multiplex3_1.y[3]', 'Constant1.y', 'Constant2.y'] 18.610580722801387 18.625845575 18.193667357 Calling exit ...