Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",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.0007833/0.0007833, 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.0008697/0.0008699, allocations: 175.6 kB / 16.58 MB, free: 6.844 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.621/1.621, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3818/0.3818, allocations: 43.55 MB / 314.6 MB, free: 9.145 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.0005374/0.0005377, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3329/0.461, allocations: 91.64 MB / 0.522 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05698/0.5181, allocations: 18.43 MB / 0.54 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03023/0.5483, allocations: 433.2 kB / 0.5404 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0201/0.5685, allocations: 4.843 MB / 0.5451 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04725/0.6158, allocations: 14.05 MB / 0.5588 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007507/0.6233, allocations: 1.017 MB / 0.5598 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0664/0.6898, allocations: 51.19 MB / 0.6098 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01339/0.7032, allocations: 7.419 MB / 0.6171 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.7084, allocations: 2.133 MB / 0.6192 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006087/0.7146, allocations: 3.447 MB / 0.6225 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001976/0.7166, allocations: 244 kB / 0.6228 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.7206, allocations: 1.124 MB / 0.6239 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004817/0.7255, allocations: 3 MB / 0.6268 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.7291, allocations: 1.388 MB / 0.6281 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5895/1.319, allocations: 9.387 MB / 0.6373 GB, free: 57.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.319, allocations: 1.531 kB / 0.6373 GB, free: 57.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/1.319, allocations: 2.562 kB / 0.6373 GB, free: 57.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004871/1.319, allocations: 0 / 0.6373 GB, free: 57.71 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02346/1.343, allocations: 6.942 MB / 0.6441 GB, free: 54.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.343, allocations: 10.56 kB / 0.6441 GB, free: 54.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005112/1.348, allocations: 1.12 MB / 0.6452 GB, free: 54.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04894/1.397, allocations: 8.512 MB / 0.6535 GB, free: 54.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/1.412, allocations: 6.205 MB / 0.6596 GB, free: 53.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/1.413, allocations: 391.9 kB / 0.6599 GB, free: 53.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002924/1.416, allocations: 0.5161 MB / 0.6604 GB, free: 53.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/1.447, allocations: 15.58 MB / 0.6757 GB, free: 49.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/1.448, allocations: 76.36 kB / 0.6757 GB, free: 49.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007226/1.448, allocations: 249.5 kB / 0.676 GB, free: 49.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004299/1.453, allocations: 2.927 MB / 0.6788 GB, free: 48.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02596/1.479, allocations: 12.75 MB / 0.6913 GB, free: 44.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07526/1.554, allocations: 59.74 MB / 0.7496 GB, free: 10.8 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/1.568, allocations: 5.897 MB / 0.7554 GB, free: 6.234 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004841/1.573, allocations: 3.198 MB / 0.7585 GB, free: 4.348 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/1.573, allocations: 42.45 kB / 0.7585 GB, free: 4.324 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/1.573, allocations: 60.59 kB / 0.7586 GB, free: 4.273 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=242): time 7.925e-06/1.573, allocations: 4 kB / 0.7586 GB, free: 4.27 MB / 0.4982 GB Notification: Performance of matching and sorting (n=260): time 0.06858/1.642, allocations: 23.15 MB / 0.7812 GB, free: 0.7891 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/1.642, allocations: 260.1 kB / 0.7814 GB, free: 496 kB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01537/1.658, allocations: 6.968 MB / 0.7883 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007218/1.658, allocations: 71.75 kB / 0.7883 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005124/1.663, allocations: 4.863 MB / 0.7931 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.665, allocations: 1.006 MB / 0.7941 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.666, allocations: 174.1 kB / 0.7942 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0009814/1.667, allocations: 0.6575 MB / 0.7949 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005931/1.673, allocations: 2.96 MB / 0.7978 GB, free: 64 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.684, allocations: 8.1 MB / 0.8057 GB, free: 5.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008814/1.693, allocations: 4.78 MB / 0.8103 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002365/1.693, allocations: 56 kB / 0.8104 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02571/1.719, allocations: 11.51 MB / 0.8216 GB, free: 6.387 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003086/1.719, allocations: 87.98 kB / 0.8217 GB, free: 6.301 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000435/1.719, allocations: 180 kB / 0.8219 GB, free: 6.125 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/1.722, allocations: 1.028 MB / 0.8229 GB, free: 5.09 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007338/1.73, allocations: 2.024 MB / 0.8249 GB, free: 3.234 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.741, allocations: 9.422 MB / 0.8341 GB, free: 9.535 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007811/1.749, allocations: 467.2 kB / 0.8345 GB, free: 9.078 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.751, allocations: 0.5 MB / 0.835 GB, free: 8.578 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1030): * Single equations (assignments): 1024 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008583/1.759, allocations: 3.204 MB / 0.8381 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/1.761, allocations: 0.594 MB / 0.8387 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.773, allocations: 4.688 MB / 0.8433 GB, free: 240 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-05/1.773, allocations: 31.12 kB / 0.8433 GB, free: 212 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/1.773, allocations: 11.8 kB / 0.8433 GB, free: 204 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-05/1.773, allocations: 21.59 kB / 0.8433 GB, free: 184 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.284/2.057, allocations: 11.82 MB / 0.8549 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/2.057, allocations: 4.562 kB / 0.8549 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/2.06, allocations: 0.5037 MB / 0.8554 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/2.062, allocations: 0.7185 MB / 0.8561 GB, free: 224.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/2.062, allocations: 48.42 kB / 0.8561 GB, free: 224.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008208/2.07, allocations: 8.486 MB / 0.8644 GB, free: 218.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.07, allocations: 6.641 kB / 0.8644 GB, free: 218.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/2.083, allocations: 8.049 MB / 0.8723 GB, free: 215.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003522/2.087, allocations: 1.022 MB / 0.8733 GB, free: 215.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/2.088, allocations: 45.03 kB / 0.8733 GB, free: 215.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/2.091, allocations: 152.3 kB / 0.8735 GB, free: 215.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/2.091, allocations: 153.7 kB / 0.8736 GB, free: 215.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/2.091, allocations: 68.06 kB / 0.8737 GB, free: 215.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009797/2.101, allocations: 4.45 MB / 0.878 GB, free: 213.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.11e-07/2.101, allocations: 0 / 0.878 GB, free: 213.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009714/2.111, allocations: 1.538 MB / 0.8795 GB, free: 213.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(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.01241/2.123, allocations: 8.733 MB / 0.8881 GB, free: 209.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01163/2.135, allocations: 7.443 MB / 0.8953 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.135, allocations: 1.25 kB / 0.8953 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003602/2.139, allocations: 2.532 MB / 0.8978 GB, free: 206.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007957/2.147, allocations: 0.7983 MB / 0.8986 GB, free: 205.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/2.261, allocations: 62.53 MB / 0.9596 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007636/2.268, allocations: 4.9 MB / 0.9644 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00653/2.275, allocations: 2.752 MB / 0.9671 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004034/2.279, allocations: 3.248 MB / 0.9703 GB, free: 130.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.252e-06/2.279, allocations: 8 kB / 0.9703 GB, free: 130.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/2.439, allocations: 124.7 MB / 1.092 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/2.439, allocations: 207.5 kB / 1.092 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.007/7.446, allocations: 0 / 1.092 GB, free: 5.324 MB / 0.5763 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat