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.0008894/0.0008891, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008863/0.0008863, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.421/1.421, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3448/0.3448, allocations: 43.55 MB / 314.6 MB, free: 8.77 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.000509/0.000509, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2465/0.3718, allocations: 57.99 MB / 0.4891 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02506/0.3969, allocations: 12.46 MB / 0.5013 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/0.4095, allocations: 279 kB / 0.5016 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009795/0.4193, allocations: 2.969 MB / 0.5045 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02453/0.4439, allocations: 8.864 MB / 0.5131 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.4482, allocations: 1.009 MB / 0.5141 GB, free: 112 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04612/0.4944, allocations: 35.26 MB / 0.5485 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008161/0.5026, allocations: 5.563 MB / 0.554 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.5059, allocations: 1.849 MB / 0.5558 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.5097, allocations: 2.847 MB / 0.5586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007496/0.5105, allocations: 204 kB / 0.5588 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.513, allocations: 1.159 MB / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002299/0.5153, allocations: 2.384 MB / 0.5622 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.5166, allocations: 1.107 MB / 0.5633 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.524, allocations: 7.548 MB / 0.5707 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.5241, allocations: 0 / 0.5707 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5241, allocations: 0 / 0.5707 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.5244, allocations: 0 / 0.5707 GB, free: 13.18 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01419/0.5386, allocations: 5.916 MB / 0.5764 GB, free: 7.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5386, allocations: 12.03 kB / 0.5765 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002576/0.5412, allocations: 0.9178 MB / 0.5773 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1228/0.664, allocations: 12.84 MB / 0.5899 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009986/0.674, allocations: 4.928 MB / 0.5947 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.6743, allocations: 308 kB / 0.595 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.6756, allocations: 431.6 kB / 0.5954 GB, free: 3.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.6998, allocations: 13.67 MB / 0.6088 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.7, allocations: 55.52 kB / 0.6088 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.7005, allocations: 207.8 kB / 0.609 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.7042, allocations: 2.523 MB / 0.6115 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.7271, allocations: 11.51 MB / 0.6227 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2681/0.9952, allocations: 53.14 MB / 0.6746 GB, free: 106.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/1.009, allocations: 5.787 MB / 0.6802 GB, free: 104.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/1.013, allocations: 3.376 MB / 0.6835 GB, free: 103.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01985/1.033, allocations: 14.81 MB / 0.698 GB, free: 95.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.033, allocations: 60.86 kB / 0.6981 GB, free: 95.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 4.96e-06/1.033, allocations: 0 / 0.6981 GB, free: 95.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=264): time 0.06551/1.099, allocations: 26.34 MB / 0.7238 GB, free: 79.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/1.099, allocations: 261.3 kB / 0.724 GB, free: 79.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/1.104, allocations: 5.079 MB / 0.729 GB, free: 74.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/1.104, allocations: 65.7 kB / 0.7291 GB, free: 74.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.106, allocations: 3.965 MB / 0.7329 GB, free: 70.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/1.107, allocations: 0.9924 MB / 0.7339 GB, free: 69.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.107, allocations: 148 kB / 0.734 GB, free: 69.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/1.107, allocations: 0.616 MB / 0.7346 GB, free: 68.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.11, allocations: 2.7 MB / 0.7373 GB, free: 66.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/1.114, allocations: 7.053 MB / 0.7442 GB, free: 56.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/1.119, allocations: 4.232 MB / 0.7483 GB, free: 52.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.384e-05/1.119, allocations: 51.84 kB / 0.7484 GB, free: 52.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01197/1.131, allocations: 10.04 MB / 0.7582 GB, free: 42.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/1.131, allocations: 68 kB / 0.7582 GB, free: 42.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.131, allocations: 152.9 kB / 0.7584 GB, free: 42.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/1.132, allocations: 0.7315 MB / 0.7591 GB, free: 41.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/1.137, allocations: 1.774 MB / 0.7608 GB, free: 39.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/1.142, allocations: 6.357 MB / 0.767 GB, free: 33.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/1.147, allocations: 407.3 kB / 0.7674 GB, free: 32.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/1.148, allocations: 444 kB / 0.7678 GB, free: 32.38 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.003528/1.151, allocations: 2.641 MB / 0.7704 GB, free: 29.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/1.152, allocations: 469.9 kB / 0.7709 GB, free: 29.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/1.158, allocations: 4.365 MB / 0.7751 GB, free: 24.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.158, allocations: 28 kB / 0.7751 GB, free: 24.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.158, allocations: 8 kB / 0.7752 GB, free: 24.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.158, allocations: 15.95 kB / 0.7752 GB, free: 24.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.173, allocations: 10.84 MB / 0.7858 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.173, allocations: 0 / 0.7858 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.175, allocations: 0.4915 MB / 0.7862 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/1.176, allocations: 489.9 kB / 0.7867 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/1.177, allocations: 47.98 kB / 0.7867 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/1.181, allocations: 5.697 MB / 0.7923 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.181, allocations: 0 / 0.7923 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009066/1.19, allocations: 7.584 MB / 0.7997 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.193, allocations: 0.8554 MB / 0.8006 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007542/1.194, allocations: 36 kB / 0.8006 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.196, allocations: 167.8 kB / 0.8007 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.196, allocations: 145.7 kB / 0.8009 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.196, allocations: 75.98 kB / 0.801 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005939/1.202, allocations: 3.173 MB / 0.8041 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.202, allocations: 0 / 0.8041 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007067/1.209, allocations: 1.298 MB / 0.8053 GB, free: 9.617 MB / 0.4981 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.01104/1.22, allocations: 8.302 MB / 0.8134 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009746/1.23, allocations: 6.741 MB / 0.82 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.23, allocations: 0 / 0.82 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002866/1.233, allocations: 2.364 MB / 0.8223 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.236, allocations: 0.6048 MB / 0.8229 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2641/1.5, allocations: 47.86 MB / 0.8697 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004719/1.505, allocations: 4.114 MB / 0.8737 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006646/1.511, allocations: 2.377 MB / 0.876 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003898/1.515, allocations: 2.623 MB / 0.8786 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.184e-06/1.515, allocations: 0 / 0.8786 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.843/4.359, allocations: 100.5 MB / 0.9767 GB, free: 49.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/4.359, allocations: 209.2 kB / 0.9769 GB, free: 49.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.464/8.823, allocations: 64 / 0.9769 GB, free: 49.58 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