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.001777/0.001777, allocations: 110.5 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.002151/0.002151, allocations: 213.2 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.512/1.512, 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.237/0.237, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002369/0.002369, allocations: 71.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3113, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009435/0.3207, allocations: 7.532 MB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.3277, allocations: 3.413 MB / 0.5722 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009866/0.3287, allocations: 39.81 kB / 0.5722 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3309, allocations: 0.8092 MB / 0.573 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.3343, allocations: 1.315 MB / 0.5743 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3357, allocations: 0.5301 MB / 0.5748 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004072/0.3398, allocations: 2.605 MB / 0.5774 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3417, allocations: 1.15 MB / 0.5785 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.3432, allocations: 0.7784 MB / 0.5792 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.3454, allocations: 1.234 MB / 0.5804 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.3459, allocations: 140 kB / 0.5806 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.348, allocations: 0.9633 MB / 0.5815 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.3494, allocations: 1.04 MB / 0.5825 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.3512, allocations: 1.207 MB / 0.5837 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.3567, allocations: 4.045 MB / 0.5877 GB, free: 9.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3567, allocations: 0 / 0.5877 GB, free: 9.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3567, allocations: 0 / 0.5877 GB, free: 9.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.3568, allocations: 0 / 0.5877 GB, free: 9.395 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.006238/0.3631, allocations: 2.955 MB / 0.5906 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3631, allocations: 12.03 kB / 0.5906 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007943/0.3639, allocations: 458.5 kB / 0.591 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/0.37, allocations: 1.676 MB / 0.5926 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.3734, allocations: 1.489 MB / 0.5941 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.3736, allocations: 127.3 kB / 0.5942 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/0.3741, allocations: 167.8 kB / 0.5944 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.3856, allocations: 6.452 MB / 0.6007 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.535e-05/0.3857, allocations: 31.75 kB / 0.6007 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004287/0.3861, allocations: 83.89 kB / 0.6008 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/0.3888, allocations: 1.445 MB / 0.6022 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.4004, allocations: 5.728 MB / 0.6078 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0374/0.4378, allocations: 26.64 MB / 0.6338 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.4424, allocations: 1.618 MB / 0.6354 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.444, allocations: 0.9604 MB / 0.6363 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.4442, allocations: 20.27 kB / 0.6363 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.4443, allocations: 42.89 kB / 0.6364 GB, free: 5.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/0.4443, allocations: 0 / 0.6364 GB, free: 5.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.0188/0.4631, allocations: 6.513 MB / 0.6427 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.4632, allocations: 148.8 kB / 0.6429 GB, free: 15.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005587/0.4688, allocations: 2.894 MB / 0.6457 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.4691, allocations: 37.7 kB / 0.6457 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002229/0.4713, allocations: 2.194 MB / 0.6479 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008278/0.4721, allocations: 476.5 kB / 0.6483 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.4739, allocations: 0.9051 MB / 0.6492 GB, free: 8.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.474, allocations: 301.1 kB / 0.6495 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/0.4769, allocations: 1.418 MB / 0.6509 GB, free: 6.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/0.4831, allocations: 4.283 MB / 0.6551 GB, free: 1.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008543/0.4917, allocations: 6.202 MB / 0.6611 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.4918, allocations: 32 kB / 0.6612 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01136/0.5031, allocations: 5.489 MB / 0.6665 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/0.5032, allocations: 48 kB / 0.6666 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.5034, allocations: 104.1 kB / 0.6667 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.5035, allocations: 140.7 kB / 0.6668 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004669/0.5082, allocations: 1.228 MB / 0.668 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.5084, allocations: 195.2 kB / 0.6682 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.5115, allocations: 243.6 kB / 0.6684 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006046/0.5121, allocations: 284 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.00244/0.5146, allocations: 1.383 MB / 0.67 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.5151, allocations: 250.3 kB / 0.6703 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.5173, allocations: 1.245 MB / 0.6715 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/0.5174, allocations: 19.92 kB / 0.6715 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.5174, allocations: 7.984 kB / 0.6715 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.5174, allocations: 3.984 kB / 0.6715 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009221/0.5266, allocations: 4.534 MB / 0.676 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.5266, allocations: 4 kB / 0.676 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.5285, allocations: 359.4 kB / 0.6763 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.5285, allocations: 8 kB / 0.6763 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.5286, allocations: 24 kB / 0.6763 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.5287, allocations: 15.92 kB / 0.6764 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5287, allocations: 8 kB / 0.6764 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.532, allocations: 2.18 MB / 0.6785 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/0.5328, allocations: 234.2 kB / 0.6787 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.5331, allocations: 27.97 kB / 0.6787 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.5342, allocations: 55.92 kB / 0.6788 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.5343, allocations: 71.78 kB / 0.6789 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/0.5344, allocations: 39.98 kB / 0.6789 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003532/0.538, allocations: 1.815 MB / 0.6807 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.538, allocations: 0 / 0.6807 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004206/0.5422, 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.004285/0.5465, allocations: 2.793 MB / 0.684 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006437/0.5529, allocations: 3.145 MB / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.5529, allocations: 0 / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.5541, allocations: 0.7361 MB / 0.6878 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.5562, allocations: 276.2 kB / 0.6881 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/0.6063, allocations: 29.82 MB / 0.7172 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.6092, allocations: 2.205 MB / 0.7193 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003878/0.613, 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.002198/0.6152, allocations: 1.077 MB / 0.7218 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of SimCode: time 1.402e-06/0.6152, allocations: 0 / 0.7218 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/0.9404, allocations: 45.04 MB / 0.7658 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/18.62, allocations: 17.83 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 & /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: 21.551963322330266] 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.729968886822462 18.743052735 18.382643362 Calling exit ...