Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.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.00163/0.00163, 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.002132/0.002132, allocations: 213.9 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.561/1.561, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2481/0.2481, 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.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar",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.002328/0.002328, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.364, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01831/0.3823, allocations: 15.04 MB / 0.5762 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3936, allocations: 4.471 MB / 0.5806 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.3965, allocations: 95.62 kB / 0.5807 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.4018, allocations: 2.262 MB / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.4077, allocations: 2.047 MB / 0.5849 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.4096, allocations: 0.6122 MB / 0.5855 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00707/0.4167, allocations: 4.31 MB / 0.5897 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004623/0.4213, allocations: 2.68 MB / 0.5923 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.4249, allocations: 1.62 MB / 0.5939 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/0.4294, allocations: 2.426 MB / 0.5962 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.4308, allocations: 344 kB / 0.5966 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.4339, allocations: 1.073 MB / 0.5976 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.4377, allocations: 2.006 MB / 0.5996 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005265/0.4429, allocations: 2.38 MB / 0.6019 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4582, allocations: 7.78 MB / 0.6095 GB, free: 2.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4582, allocations: 3.938 kB / 0.6095 GB, free: 2.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4582, allocations: 0 / 0.6095 GB, free: 2.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003065/0.4585, allocations: 4 kB / 0.6095 GB, free: 2.93 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01738/0.4759, allocations: 5.137 MB / 0.6145 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.476, allocations: 8.031 kB / 0.6145 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002833/0.4788, allocations: 0.8526 MB / 0.6154 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.494, allocations: 3.238 MB / 0.6185 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008663/0.5027, allocations: 2.532 MB / 0.621 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.5031, allocations: 254.4 kB / 0.6212 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.5051, allocations: 331.8 kB / 0.6216 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/0.5399, allocations: 12.24 MB / 0.6335 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.5402, allocations: 35.75 kB / 0.6335 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/0.5418, allocations: 151.8 kB / 0.6337 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007596/0.5494, allocations: 2.844 MB / 0.6365 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03301/0.5824, allocations: 11.13 MB / 0.6473 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08315/0.6656, allocations: 40.42 MB / 0.6868 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.6785, allocations: 3.598 MB / 0.6903 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/0.6823, allocations: 2.248 MB / 0.6925 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009172/0.6833, allocations: 457.2 kB / 0.6929 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.6833, allocations: 52.56 kB / 0.693 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 6.061e-06/0.6833, allocations: 0 / 0.693 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04709/0.7304, allocations: 18.46 MB / 0.711 GB, free: 9.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.7305, allocations: 85.34 kB / 0.7111 GB, free: 9.043 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/0.7359, allocations: 3.177 MB / 0.7142 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/0.7364, allocations: 61.69 kB / 0.7143 GB, free: 5.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002786/0.7392, allocations: 3.245 MB / 0.7174 GB, free: 2.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/0.7405, allocations: 1.008 MB / 0.7184 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/0.7427, allocations: 1.195 MB / 0.7196 GB, free: 300 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7429, allocations: 305.1 kB / 0.7199 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/0.7472, allocations: 2.456 MB / 0.7223 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007996/0.7552, allocations: 5.722 MB / 0.7279 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3015/1.057, allocations: 8.97 MB / 0.7366 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.057, allocations: 32.5 kB / 0.7367 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01449/1.071, allocations: 8.993 MB / 0.7454 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/1.071, allocations: 55.62 kB / 0.7455 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.071, allocations: 117.1 kB / 0.7456 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/1.074, allocations: 1.045 MB / 0.7466 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004329/1.079, allocations: 1.346 MB / 0.7479 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/1.085, allocations: 5.448 MB / 0.7533 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.089, allocations: 311.2 kB / 0.7536 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008811/1.089, allocations: 340.9 kB / 0.7539 GB, free: 140.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (725): * Single equations (assignments): 718 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003595/1.093, allocations: 2.41 MB / 0.7562 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/1.094, allocations: 330.8 kB / 0.7565 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/1.101, allocations: 5.356 MB / 0.7618 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/1.101, allocations: 51.81 kB / 0.7618 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.101, allocations: 5.875 kB / 0.7618 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.101, allocations: 15.95 kB / 0.7618 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/1.12, allocations: 12.98 MB / 0.7745 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.12, allocations: 8 kB / 0.7745 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.122, allocations: 423.3 kB / 0.7749 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/1.124, allocations: 0.8933 MB / 0.7758 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.125, allocations: 52 kB / 0.7759 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/1.129, allocations: 4.733 MB / 0.7805 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.129, allocations: 19.88 kB / 0.7805 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.14, allocations: 8.03 MB / 0.7883 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.141, allocations: 297.8 kB / 0.7886 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006233/1.141, allocations: 52.23 kB / 0.7887 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.143, allocations: 155.5 kB / 0.7888 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/1.143, allocations: 169.4 kB / 0.789 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.143, allocations: 83.98 kB / 0.7891 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002712/1.146, allocations: 1.957 MB / 0.791 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/1.146, allocations: 4 kB / 0.791 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005576/1.151, allocations: 1.062 MB / 0.792 GB, free: 104.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.01098/1.162, allocations: 8.685 MB / 0.8005 GB, free: 95.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008116/1.171, allocations: 5.778 MB / 0.8061 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.171, allocations: 4.125 kB / 0.8061 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.173, allocations: 2.101 MB / 0.8082 GB, free: 87.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.176, allocations: 461.2 kB / 0.8086 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06377/1.24, allocations: 47.16 MB / 0.8547 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004254/1.244, allocations: 3.704 MB / 0.8583 GB, free: 30.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004092/1.248, allocations: 2.157 MB / 0.8604 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/1.251, allocations: 2.1 MB / 0.8625 GB, free: 26.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.251, allocations: 3.938 kB / 0.8625 GB, free: 26.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.378, allocations: 72.04 MB / 0.9328 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.05/26.43, allocations: 4.062 kB / 0.9328 GB, free: 2.727 MB / 0.6075 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.578843421302736] Failed to read output from testmodel.py, exit status != 0: ['time', 'planar.phi', 'planar.s_x', 'planar.s_y', 'planar.v_x', 'planar.v_y', 'planar.w'] 26.557356718927622 26.58297247 26.119369313 Calling exit ...