Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 174 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4814/0.4814, allocations: 43.55 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005779/0.000578, allocations: 22.95 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1509, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3719/0.5228, allocations: 54.73 MB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.5597, allocations: 13 MB / 0.4986 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.5757, allocations: 282.8 kB / 0.4989 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.5886, allocations: 2.706 MB / 0.5015 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03526/0.6239, allocations: 7.826 MB / 0.5092 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005454/0.6294, allocations: 1.002 MB / 0.5101 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04601/0.6754, allocations: 27 MB / 0.5365 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009128/0.6846, allocations: 5.527 MB / 0.5419 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.6882, allocations: 1.499 MB / 0.5434 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.6917, allocations: 2.021 MB / 0.5453 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008889/0.6926, allocations: 200 kB / 0.5455 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.6954, allocations: 1.127 MB / 0.5466 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002388/0.6978, allocations: 2.213 MB / 0.5488 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.6993, allocations: 1.104 MB / 0.5499 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.7094, allocations: 7.544 MB / 0.5572 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7095, allocations: 0 / 0.5572 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.7095, allocations: 0 / 0.5572 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003521/0.7098, allocations: 4 kB / 0.5572 GB, free: 10.88 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01861/0.7285, allocations: 6.103 MB / 0.5632 GB, free: 4.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.7285, allocations: 8.031 kB / 0.5632 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003453/0.732, allocations: 0.9256 MB / 0.5641 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1623/0.8943, allocations: 14.69 MB / 0.5785 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.9063, allocations: 4.531 MB / 0.5829 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.9067, allocations: 312 kB / 0.5832 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.9091, allocations: 419.7 kB / 0.5836 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.9367, allocations: 13.89 MB / 0.5971 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.937, allocations: 63.38 kB / 0.5972 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005073/0.9375, allocations: 203.8 kB / 0.5974 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.9414, allocations: 2.527 MB / 0.5999 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.9664, allocations: 11.76 MB / 0.6113 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2928/1.259, allocations: 53.35 MB / 0.6634 GB, free: 105.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/1.274, allocations: 5.829 MB / 0.6691 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02294/1.297, allocations: 14.95 MB / 0.6837 GB, free: 96.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/1.297, allocations: 63 kB / 0.6838 GB, free: 96.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 6.893e-06/1.297, allocations: 3.984 kB / 0.6838 GB, free: 96.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=264): time 0.09014/1.388, allocations: 26.7 MB / 0.7099 GB, free: 87.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.388, allocations: 262.8 kB / 0.7101 GB, free: 87.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/1.394, allocations: 5.326 MB / 0.7153 GB, free: 85.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/1.395, allocations: 60.86 kB / 0.7154 GB, free: 85.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.397, allocations: 3.966 MB / 0.7193 GB, free: 81.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008817/1.397, allocations: 0.9873 MB / 0.7202 GB, free: 81.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.398, allocations: 145.2 kB / 0.7204 GB, free: 80.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/1.398, allocations: 0.6247 MB / 0.721 GB, free: 80.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.401, allocations: 2.696 MB / 0.7236 GB, free: 79.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/1.406, allocations: 7.024 MB / 0.7305 GB, free: 69.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/1.41, allocations: 4.24 MB / 0.7346 GB, free: 65.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.707e-05/1.41, allocations: 44 kB / 0.7346 GB, free: 65.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01446/1.425, allocations: 10.04 MB / 0.7445 GB, free: 55.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.425, allocations: 72 kB / 0.7445 GB, free: 55.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.425, allocations: 148 kB / 0.7447 GB, free: 55.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.427, allocations: 0.7346 MB / 0.7454 GB, free: 54.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006241/1.433, allocations: 1.766 MB / 0.7471 GB, free: 52.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/1.439, allocations: 6.472 MB / 0.7534 GB, free: 46.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/1.445, allocations: 399.4 kB / 0.7538 GB, free: 45.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009776/1.446, allocations: 449.4 kB / 0.7542 GB, free: 45.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004142/1.45, allocations: 2.641 MB / 0.7568 GB, free: 42.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009074/1.451, allocations: 477.9 kB / 0.7573 GB, free: 42.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/1.457, allocations: 4.364 MB / 0.7615 GB, free: 37.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.457, allocations: 35.94 kB / 0.7616 GB, free: 37.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.457, allocations: 4 kB / 0.7616 GB, free: 37.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.457, allocations: 7.969 kB / 0.7616 GB, free: 37.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.473, allocations: 10.87 MB / 0.7722 GB, free: 26.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.473, allocations: 0 / 0.7722 GB, free: 26.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/1.476, allocations: 0.4953 MB / 0.7727 GB, free: 26.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/1.477, allocations: 492.2 kB / 0.7732 GB, free: 25.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.477, allocations: 47.98 kB / 0.7732 GB, free: 25.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/1.482, allocations: 5.799 MB / 0.7789 GB, free: 19.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.482, allocations: 4 kB / 0.7789 GB, free: 19.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009406/1.492, allocations: 7.691 MB / 0.7864 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/1.495, allocations: 0.86 MB / 0.7872 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007426/1.495, allocations: 40.94 kB / 0.7873 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.498, allocations: 163.8 kB / 0.7874 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/1.498, allocations: 149.7 kB / 0.7876 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.498, allocations: 79.75 kB / 0.7876 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004222/1.502, allocations: 3.372 MB / 0.7909 GB, free: 7.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.502, allocations: 0 / 0.7909 GB, free: 7.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005865/1.508, allocations: 1.322 MB / 0.7922 GB, free: 6.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009345/1.518, allocations: 8.544 MB / 0.8006 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.528, allocations: 6.743 MB / 0.8071 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.528, allocations: 384 / 0.8071 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/1.531, allocations: 2.377 MB / 0.8095 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/1.534, allocations: 0.5522 MB / 0.81 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3575/1.892, allocations: 152.6 MB / 0.959 GB, free: 38.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005551/1.898, allocations: 4.23 MB / 0.9631 GB, free: 37.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007436/1.905, allocations: 2.378 MB / 0.9655 GB, free: 37.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005724/1.911, allocations: 2.629 MB / 0.968 GB, free: 35.17 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/1.911, allocations: 0 / 0.968 GB, free: 35.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4457/2.356, allocations: 101.3 MB / 1.067 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.357, allocations: 199.7 kB / 1.067 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.949/7.306, allocations: 0 / 1.067 GB, free: 141.5 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat