Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_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.0008926/0.0008927, allocations: 98.62 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 183.2 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3423/0.4767, allocations: 57.95 MB / 0.5172 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03146/0.5082, allocations: 12.44 MB / 0.5293 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0188/0.5271, allocations: 280.3 kB / 0.5296 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.5403, allocations: 2.978 MB / 0.5325 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.566, allocations: 8.865 MB / 0.5412 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.5716, allocations: 1.007 MB / 0.5422 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.07734/0.6489, allocations: 62.45 MB / 0.6031 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008366/0.6573, allocations: 5.565 MB / 0.6086 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.6607, allocations: 1.825 MB / 0.6104 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.6649, allocations: 2.847 MB / 0.6131 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009248/0.6658, allocations: 203.9 kB / 0.6133 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.6686, allocations: 1.17 MB / 0.6145 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.6712, allocations: 2.38 MB / 0.6168 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.673, allocations: 1.096 MB / 0.6179 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.6818, allocations: 7.525 MB / 0.6252 GB, free: 7.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.6819, allocations: 0 / 0.6252 GB, free: 7.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6819, allocations: 0 / 0.6252 GB, free: 7.215 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003209/0.6822, allocations: 0 / 0.6252 GB, free: 7.215 MB / 462.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.02383/0.706, allocations: 5.899 MB / 0.631 GB, free: 1.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.7061, allocations: 12.03 kB / 0.631 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003917/0.7101, allocations: 0.9139 MB / 0.6319 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1778/0.8879, allocations: 12.84 MB / 0.6444 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.8995, allocations: 4.618 MB / 0.6489 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.8999, allocations: 308 kB / 0.6492 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.9022, allocations: 423.7 kB / 0.6496 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/0.9341, allocations: 13.67 MB / 0.663 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/0.9345, allocations: 63.38 kB / 0.663 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/0.9362, allocations: 199.8 kB / 0.6632 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.9407, allocations: 2.523 MB / 0.6657 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/0.9657, allocations: 11.51 MB / 0.6769 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3388/1.305, allocations: 53.08 MB / 0.7288 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.322, allocations: 5.794 MB / 0.7344 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004644/1.326, allocations: 3.374 MB / 0.7377 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/1.344, allocations: 14.8 MB / 0.7522 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/1.344, allocations: 66.58 kB / 0.7522 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 4.608e-06/1.344, allocations: 0 / 0.7522 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.06678/1.411, allocations: 26.22 MB / 0.7778 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.411, allocations: 264.8 kB / 0.7781 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/1.417, allocations: 5.042 MB / 0.783 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005561/1.418, allocations: 63.77 kB / 0.7831 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002146/1.42, allocations: 3.953 MB / 0.7869 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.421, allocations: 0.9906 MB / 0.7879 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/1.422, allocations: 148 kB / 0.7881 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003665/1.422, allocations: 0.6237 MB / 0.7887 GB, free: 120 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/1.426, allocations: 2.696 MB / 0.7913 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005074/1.431, allocations: 7.045 MB / 0.7982 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005407/1.436, allocations: 4.24 MB / 0.8023 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/1.436, allocations: 48 kB / 0.8024 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01504/1.451, allocations: 10.04 MB / 0.8122 GB, free: 94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.19e-05/1.451, allocations: 72 kB / 0.8122 GB, free: 93.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/1.452, allocations: 152.9 kB / 0.8124 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/1.453, allocations: 0.7278 MB / 0.8131 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.458, allocations: 1.766 MB / 0.8148 GB, free: 91.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/1.464, allocations: 6.354 MB / 0.821 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/1.47, allocations: 400.6 kB / 0.8214 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.472, allocations: 444 kB / 0.8218 GB, free: 83.85 MB / 0.5294 GB 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.005424/1.477, allocations: 2.64 MB / 0.8244 GB, free: 81.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.478, allocations: 473.8 kB / 0.8249 GB, free: 80.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/1.486, allocations: 4.369 MB / 0.8291 GB, free: 76.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/1.486, allocations: 27.36 kB / 0.8292 GB, free: 76.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.486, allocations: 8 kB / 0.8292 GB, free: 76.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/1.486, allocations: 11.95 kB / 0.8292 GB, free: 76.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.507, allocations: 10.83 MB / 0.8398 GB, free: 65.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.507, allocations: 0 / 0.8398 GB, free: 65.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.509, allocations: 0.4914 MB / 0.8402 GB, free: 64.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/1.51, allocations: 491.5 kB / 0.8407 GB, free: 64.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003384/1.511, allocations: 47.98 kB / 0.8407 GB, free: 64.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/1.516, allocations: 5.696 MB / 0.8463 GB, free: 58.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.516, allocations: 0 / 0.8463 GB, free: 58.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009799/1.526, allocations: 7.582 MB / 0.8537 GB, free: 50.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.527, allocations: 0.4988 MB / 0.8542 GB, free: 50.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.529, allocations: 40.62 kB / 0.8542 GB, free: 50.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.531, allocations: 167.8 kB / 0.8544 GB, free: 50.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/1.532, allocations: 138.6 kB / 0.8545 GB, free: 49.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.532, allocations: 76.77 kB / 0.8546 GB, free: 49.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005589/1.537, allocations: 3.148 MB / 0.8577 GB, free: 46.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.537, allocations: 4 kB / 0.8577 GB, free: 46.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006832/1.544, allocations: 1.296 MB / 0.8589 GB, free: 45.46 MB / 0.5294 GB 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.01031/1.555, allocations: 8.3 MB / 0.8671 GB, free: 37.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00967/1.564, allocations: 6.743 MB / 0.8736 GB, free: 30.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.564, allocations: 0 / 0.8736 GB, free: 30.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/1.567, allocations: 2.362 MB / 0.8759 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/1.572, allocations: 0.5952 MB / 0.8765 GB, free: 27.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3566/1.929, allocations: 47.68 MB / 0.9231 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008802/1.937, allocations: 4.097 MB / 0.9271 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007373/1.945, allocations: 2.38 MB / 0.9294 GB, free: 190 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004508/1.949, allocations: 2.625 MB / 0.932 GB, free: 188 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.949, allocations: 0 / 0.932 GB, free: 188 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/2.099, allocations: 100.2 MB / 1.03 GB, free: 101.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/2.1, allocations: 213.7 kB / 1.03 GB, free: 101.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/6.636, allocations: 0 / 1.03 GB, free: 101.2 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat