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.001373/0.001373, allocations: 111.5 kB / 20.18 MB, free: 1.984 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.001533/0.001533, allocations: 211.9 kB / 23.44 MB, free: 5.094 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.512/1.512, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2332/0.2332, allocations: 46.9 MB / 360 MB, free: 4.715 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.002481/0.002481, allocations: 83.84 kB / 0.495 GB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3078, allocations: 65.99 MB / 0.5594 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01052/0.3184, allocations: 7.532 MB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007308/0.3257, allocations: 3.397 MB / 0.5701 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.3267, allocations: 35.88 kB / 0.5701 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.3291, allocations: 0.8209 MB / 0.5709 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.333, allocations: 1.308 MB / 0.5722 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3345, allocations: 0.5262 MB / 0.5727 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004072/0.3385, allocations: 2.605 MB / 0.5753 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.3405, allocations: 1.014 MB / 0.5763 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.342, allocations: 0.7705 MB / 0.577 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.3442, allocations: 1.23 MB / 0.5782 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005635/0.3447, allocations: 140 kB / 0.5784 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.3469, allocations: 0.9594 MB / 0.5793 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.3483, allocations: 1.032 MB / 0.5803 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.3501, allocations: 1.211 MB / 0.5815 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006113/0.3563, allocations: 4.042 MB / 0.5854 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3563, allocations: 4 kB / 0.5854 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3563, allocations: 0 / 0.5854 GB, free: 10.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.3564, allocations: 0 / 0.5854 GB, free: 10.24 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.00735/0.3638, allocations: 3.03 MB / 0.5884 GB, free: 7.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3638, allocations: 8.031 kB / 0.5884 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009081/0.3647, allocations: 462.5 kB / 0.5888 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/0.371, allocations: 1.672 MB / 0.5905 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.3746, allocations: 1.559 MB / 0.592 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3747, allocations: 123.4 kB / 0.5921 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/0.3752, allocations: 167.8 kB / 0.5923 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.3861, allocations: 6.452 MB / 0.5986 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/0.3862, allocations: 31.69 kB / 0.5986 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.3865, allocations: 87.83 kB / 0.5987 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.389, allocations: 1.445 MB / 0.6001 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.4002, allocations: 5.724 MB / 0.6057 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.4335, allocations: 26.76 MB / 0.6318 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.4381, allocations: 2.074 MB / 0.6338 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4395, allocations: 0.959 MB / 0.6348 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.4397, allocations: 178.5 kB / 0.635 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.4398, allocations: 50.81 kB / 0.635 GB, free: 5.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.076e-06/0.4398, allocations: 0 / 0.635 GB, free: 5.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01681/0.4566, allocations: 6.502 MB / 0.6413 GB, free: 15.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4567, allocations: 140.7 kB / 0.6415 GB, free: 15.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.4622, allocations: 2.902 MB / 0.6443 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.4624, allocations: 37.7 kB / 0.6444 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.4643, allocations: 2.202 MB / 0.6465 GB, free: 9.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.4649, allocations: 468.5 kB / 0.6469 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.4662, allocations: 0.8973 MB / 0.6478 GB, free: 8.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4663, allocations: 305.1 kB / 0.6481 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.4687, allocations: 1.422 MB / 0.6495 GB, free: 6.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004981/0.4737, allocations: 4.287 MB / 0.6537 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/0.4816, allocations: 6.188 MB / 0.6597 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.395e-05/0.4817, allocations: 28 kB / 0.6598 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01021/0.4919, allocations: 5.505 MB / 0.6651 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.492, allocations: 54.19 kB / 0.6652 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.4921, allocations: 100 kB / 0.6653 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.4923, allocations: 140.2 kB / 0.6654 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004382/0.4967, allocations: 1.22 MB / 0.6666 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002073/0.4969, allocations: 195.2 kB / 0.6668 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.4998, allocations: 251.6 kB / 0.667 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006552/0.5004, allocations: 284 kB / 0.6673 GB, free: 1.66 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.002384/0.5028, allocations: 1.376 MB / 0.6687 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/0.5033, allocations: 254.3 kB / 0.6689 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.5057, allocations: 1.234 MB / 0.6701 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/0.5057, allocations: 19.94 kB / 0.6701 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5057, allocations: 3.938 kB / 0.6701 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.5057, allocations: 11.97 kB / 0.6701 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00911/0.5148, allocations: 4.547 MB / 0.6746 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.5149, allocations: 8 kB / 0.6746 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.5167, allocations: 367.8 kB / 0.6749 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.5167, allocations: 12 kB / 0.6749 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.5168, allocations: 24 kB / 0.675 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/0.5168, allocations: 11.98 kB / 0.675 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.5168, allocations: 7.938 kB / 0.675 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.5199, allocations: 2.176 MB / 0.6771 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007208/0.5206, allocations: 315.2 kB / 0.6774 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.521, allocations: 28 kB / 0.6774 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.5219, allocations: 51.92 kB / 0.6775 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5221, allocations: 67.8 kB / 0.6775 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.5221, allocations: 36 kB / 0.6776 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002957/0.5251, allocations: 1.83 MB / 0.6794 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5251, allocations: 0 / 0.6794 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003248/0.5283, allocations: 0.6093 MB / 0.68 GB, free: 4.469 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.00352/0.5319, allocations: 2.795 MB / 0.6827 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005372/0.5372, allocations: 3.15 MB / 0.6858 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.5372, allocations: 0 / 0.6858 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.5384, allocations: 0.7451 MB / 0.6865 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.5403, allocations: 266.8 kB / 0.6868 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/0.5858, allocations: 29.82 MB / 0.7159 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.5885, allocations: 2.206 MB / 0.718 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003496/0.592, allocations: 1.459 MB / 0.7195 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/0.594, allocations: 1.073 MB / 0.7205 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.594, allocations: 4 kB / 0.7205 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/0.9113, allocations: 41.75 MB / 0.7613 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.07/17.98, allocations: 8.5 kB / 0.7613 GB, free: 134.9 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 20.83520910097286] 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.07849152793642 18.087267049 17.728506139 Calling exit ...