Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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.001699/0.001699, 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.002135/0.002135, allocations: 212.3 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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2465/0.2465, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",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.002392/0.002392, allocations: 79.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3499, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01462/0.3645, allocations: 12.34 MB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008937/0.3734, allocations: 3.985 MB / 0.5775 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.3756, allocations: 71.75 kB / 0.5775 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.3788, allocations: 1.35 MB / 0.5789 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.3835, allocations: 1.775 MB / 0.5806 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3851, allocations: 491 kB / 0.5811 GB, free: 220 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.3908, allocations: 3.617 MB / 0.5846 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.3941, allocations: 1.829 MB / 0.5864 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.3966, allocations: 1.211 MB / 0.5876 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.3999, allocations: 1.888 MB / 0.5894 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009354/0.4009, allocations: 236 kB / 0.5896 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.4033, allocations: 0.9712 MB / 0.5906 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.4054, allocations: 1.612 MB / 0.5921 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003299/0.4087, allocations: 1.875 MB / 0.594 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009248/0.418, allocations: 6.216 MB / 0.6 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.418, allocations: 4 kB / 0.6001 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.418, allocations: 0 / 0.6001 GB, free: 12.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.4182, allocations: 0 / 0.6001 GB, free: 12.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009961/0.4282, allocations: 4.178 MB / 0.6041 GB, free: 8.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4282, allocations: 12.03 kB / 0.6041 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.4296, allocations: 0.7083 MB / 0.6048 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4403, allocations: 3.11 MB / 0.6079 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004796/0.4451, allocations: 2.035 MB / 0.6099 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4453, allocations: 193 kB / 0.61 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009618/0.4462, allocations: 247.7 kB / 0.6103 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.465, allocations: 10.48 MB / 0.6205 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.4651, allocations: 19.81 kB / 0.6205 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006152/0.4657, allocations: 119.8 kB / 0.6206 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004524/0.4702, allocations: 2.557 MB / 0.6231 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.4905, allocations: 9.93 MB / 0.6328 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05448/0.545, allocations: 34.2 MB / 0.6662 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.5544, allocations: 4.052 MB / 0.6702 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/0.5579, allocations: 2.115 MB / 0.6723 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.5592, allocations: 0.5556 MB / 0.6728 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.5592, allocations: 52.56 kB / 0.6729 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.71e-06/0.5592, allocations: 0 / 0.6729 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03678/0.596, allocations: 13.9 MB / 0.6864 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.5961, allocations: 69.41 kB / 0.6865 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/0.6008, allocations: 2.648 MB / 0.6891 GB, free: 16 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005621/0.6014, allocations: 57.7 kB / 0.6891 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/0.6038, allocations: 2.737 MB / 0.6918 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.605, allocations: 0.8874 MB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/0.6067, allocations: 1.048 MB / 0.6937 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6069, allocations: 301.1 kB / 0.694 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.6103, allocations: 2.193 MB / 0.6961 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006007/0.6164, allocations: 5.071 MB / 0.7011 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.627, allocations: 7.949 MB / 0.7088 GB, free: 8.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.704e-05/0.6271, allocations: 32 kB / 0.7089 GB, free: 8.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01553/0.6426, allocations: 7.87 MB / 0.7166 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.6427, allocations: 48 kB / 0.7166 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/0.6428, allocations: 100 kB / 0.7167 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.6452, allocations: 0.7966 MB / 0.7175 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.6495, allocations: 1.181 MB / 0.7186 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/0.656, allocations: 4.427 MB / 0.723 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/0.6597, allocations: 283.8 kB / 0.7232 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007603/0.6605, allocations: 308 kB / 0.7235 GB, free: 9.758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003993/0.6645, allocations: 2.012 MB / 0.7255 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/0.665, allocations: 278.2 kB / 0.7258 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008536/0.6735, allocations: 4.71 MB / 0.7304 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-05/0.6736, allocations: 51.91 kB / 0.7304 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6736, allocations: 4 kB / 0.7304 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.6736, allocations: 7.969 kB / 0.7304 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3018/0.9754, allocations: 10.47 MB / 0.7406 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/0.9754, allocations: 3.906 kB / 0.7406 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.9771, allocations: 362.7 kB / 0.741 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.979, allocations: 0.6556 MB / 0.7416 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004342/0.9794, allocations: 44.39 kB / 0.7417 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/0.9837, allocations: 3.805 MB / 0.7454 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.9837, allocations: 11.66 kB / 0.7454 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009124/0.9928, allocations: 7.139 MB / 0.7524 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.9935, allocations: 242 kB / 0.7526 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005401/0.994, allocations: 51.44 kB / 0.7527 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.9954, allocations: 148.4 kB / 0.7528 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/0.9957, allocations: 130.4 kB / 0.7529 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.9959, allocations: 67.39 kB / 0.753 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002339/0.9982, allocations: 1.622 MB / 0.7546 GB, free: 145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9982, allocations: 0 / 0.7546 GB, free: 145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004915/1.003, allocations: 0.9092 MB / 0.7555 GB, free: 144.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0102/1.013, allocations: 7.796 MB / 0.7631 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007167/1.021, allocations: 5.139 MB / 0.7681 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.021, allocations: 0 / 0.7681 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/1.023, allocations: 1.877 MB / 0.7699 GB, free: 130 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.025, allocations: 364.5 kB / 0.7703 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05518/1.08, allocations: 39.78 MB / 0.8091 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/1.085, allocations: 3.171 MB / 0.8122 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003934/1.089, allocations: 1.957 MB / 0.8141 GB, free: 80.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002591/1.091, allocations: 1.706 MB / 0.8158 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.375e-06/1.092, allocations: 0 / 0.8158 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09965/1.191, allocations: 59.12 MB / 0.8735 GB, free: 19.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.89/23.08, allocations: 10.27 kB / 0.8735 GB, free: 19.91 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.03124892618507] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 23.194860845804214 23.203546277 22.782911707 Calling exit ...