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.001153/0.001153, allocations: 105 kB / 19.74 MB, free: 2.566 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.001262/0.001262, allocations: 215.6 kB / 22.92 MB, free: 5.535 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.297/1.297, allocations: 230.2 MB / 256.1 MB, free: 8.77 MB / 206.1 MB " [Timeout remaining time 179] 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.2003/0.2003, allocations: 46.89 MB / 359.3 MB, free: 5.086 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.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.002127/0.002127, allocations: 83.81 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2555, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01517/0.2707, allocations: 15.03 MB / 0.5731 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007761/0.2785, allocations: 4.468 MB / 0.5775 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2795, allocations: 83.81 kB / 0.5775 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.2833, allocations: 2.262 MB / 0.5798 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.2867, allocations: 2.031 MB / 0.5817 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2878, allocations: 0.616 MB / 0.5823 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.2922, allocations: 4.307 MB / 0.5865 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/0.2946, allocations: 2.42 MB / 0.5889 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.2963, allocations: 1.596 MB / 0.5905 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.2989, allocations: 2.414 MB / 0.5928 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005089/0.2994, allocations: 344 kB / 0.5932 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.3012, allocations: 1.073 MB / 0.5942 GB, free: 420 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.3028, allocations: 2.01 MB / 0.5962 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.3048, allocations: 2.376 MB / 0.5985 GB, free: 12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.312, allocations: 7.777 MB / 0.6061 GB, free: 4.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.312, allocations: 4 kB / 0.6061 GB, free: 4.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.312, allocations: 7.938 kB / 0.6061 GB, free: 4.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.783e-05/0.312, allocations: 0 / 0.6061 GB, free: 4.184 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.007861/0.3199, allocations: 5.216 MB / 0.6112 GB, free: 14.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3199, allocations: 8.031 kB / 0.6112 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009538/0.3209, allocations: 0.8487 MB / 0.612 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.3312, allocations: 3.234 MB / 0.6152 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.3359, allocations: 2.601 MB / 0.6177 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.3361, allocations: 254.4 kB / 0.618 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006681/0.3367, allocations: 331.7 kB / 0.6183 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3534, allocations: 12.24 MB / 0.6302 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.422e-05/0.3535, allocations: 35.7 kB / 0.6303 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/0.3539, allocations: 155.8 kB / 0.6304 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004459/0.3583, allocations: 2.848 MB / 0.6332 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.3761, allocations: 11.12 MB / 0.6441 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.4263, allocations: 40.58 MB / 0.6837 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008507/0.4348, allocations: 4.514 MB / 0.6881 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/0.4377, allocations: 2.259 MB / 0.6903 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.4389, allocations: 1.315 MB / 0.6916 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.4389, allocations: 60.5 kB / 0.6916 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 3.827e-06/0.4389, allocations: 0 / 0.6916 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04072/0.4796, allocations: 18.76 MB / 0.71 GB, free: 7.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.4797, allocations: 77.41 kB / 0.71 GB, free: 7.371 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.4837, allocations: 3.185 MB / 0.7131 GB, free: 4.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.4838, allocations: 61.7 kB / 0.7132 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.486, allocations: 3.237 MB / 0.7164 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009189/0.4869, allocations: 1.015 MB / 0.7174 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.4884, allocations: 1.191 MB / 0.7185 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4885, allocations: 305.1 kB / 0.7188 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/0.492, allocations: 2.459 MB / 0.7212 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/0.4979, allocations: 5.715 MB / 0.7268 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2038/0.7017, allocations: 8.97 MB / 0.7355 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-05/0.7017, allocations: 35.38 kB / 0.7356 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01157/0.7133, allocations: 8.987 MB / 0.7444 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.7134, allocations: 58.11 kB / 0.7444 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.037e-05/0.7134, allocations: 117.9 kB / 0.7445 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.7159, allocations: 1.047 MB / 0.7455 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.7193, allocations: 1.35 MB / 0.7469 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.7244, allocations: 5.537 MB / 0.7523 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.7273, allocations: 317.8 kB / 0.7526 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.7277, allocations: 340 kB / 0.7529 GB, free: 139.7 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.00243/0.7301, allocations: 2.413 MB / 0.7553 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.7305, allocations: 334.1 kB / 0.7556 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006849/0.7373, allocations: 5.347 MB / 0.7608 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.7373, allocations: 55.77 kB / 0.7609 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.7374, allocations: 0 / 0.7609 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.7374, allocations: 19.52 kB / 0.7609 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.7519, allocations: 13 MB / 0.7736 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.7519, allocations: 11.38 kB / 0.7736 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.7534, allocations: 423.3 kB / 0.774 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.7557, allocations: 0.8942 MB / 0.7749 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.7559, allocations: 55.94 kB / 0.7749 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/0.7603, allocations: 4.837 MB / 0.7796 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.7603, allocations: 15.94 kB / 0.7797 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008092/0.7684, allocations: 8.028 MB / 0.7875 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.7689, allocations: 378.9 kB / 0.7879 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.7692, allocations: 54.14 kB / 0.7879 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7704, allocations: 155.4 kB / 0.7881 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.7707, allocations: 170.5 kB / 0.7882 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7708, allocations: 75.98 kB / 0.7883 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001868/0.7727, allocations: 1.965 MB / 0.7902 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7727, allocations: 0 / 0.7902 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003265/0.7759, allocations: 1.06 MB / 0.7912 GB, free: 102.7 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.008198/0.7841, allocations: 8.691 MB / 0.7997 GB, free: 93.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00581/0.7899, allocations: 5.774 MB / 0.8054 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7899, allocations: 8 kB / 0.8054 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.7919, allocations: 2.099 MB / 0.8074 GB, free: 85.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.7936, allocations: 442.4 kB / 0.8078 GB, free: 85.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/0.836, allocations: 47.16 MB / 0.8539 GB, free: 33.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/0.8388, allocations: 3.708 MB / 0.8575 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003296/0.8421, allocations: 2.15 MB / 0.8596 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/0.8439, allocations: 2.104 MB / 0.8617 GB, free: 25.15 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.8439, allocations: 0 / 0.8617 GB, free: 25.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.9461, allocations: 67.52 MB / 0.9276 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.8/23.74, allocations: 8.391 kB / 0.9276 GB, free: 5.875 MB / 0.6075 GB " [Timeout remaining time 636] (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 --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: 26.297856129007414]