Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",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.001201/0.001201, allocations: 96.36 kB / 15.68 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.001468/0.001468, allocations: 170.2 kB / 16.56 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.866/1.866, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3534/0.3534, allocations: 43.54 MB / 314.5 MB, free: 9.051 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.0004981/0.0004982, allocations: 16 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.354/0.4759, allocations: 97.07 MB / 0.5273 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05711/0.533, allocations: 21.48 MB / 0.5482 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02985/0.5629, allocations: 478.9 kB / 0.5487 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02264/0.5856, allocations: 4.902 MB / 0.5535 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05625/0.6419, allocations: 13.77 MB / 0.5669 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.6534, allocations: 1.062 MB / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.06219/0.7157, allocations: 39.94 MB / 0.607 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.7291, allocations: 8.076 MB / 0.6149 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.7338, allocations: 1.872 MB / 0.6167 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.7392, allocations: 2.636 MB / 0.6193 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.7408, allocations: 276 kB / 0.6195 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.7441, allocations: 1.003 MB / 0.6205 GB, free: 9.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.748, allocations: 3.066 MB / 0.6235 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.7511, allocations: 1.544 MB / 0.625 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3881/1.139, allocations: 10.4 MB / 0.6352 GB, free: 49.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/1.139, allocations: 3.031 kB / 0.6352 GB, free: 49.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.53e-06/1.139, allocations: 0 / 0.6352 GB, free: 49.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001238/1.14, allocations: 2.031 kB / 0.6352 GB, free: 49.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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02935/1.17, allocations: 7.839 MB / 0.6428 GB, free: 46.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.17, allocations: 9.844 kB / 0.6428 GB, free: 46.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006284/1.176, allocations: 1.269 MB / 0.6441 GB, free: 46.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07028/1.247, allocations: 11.31 MB / 0.6551 GB, free: 45.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/1.267, allocations: 5.902 MB / 0.6609 GB, free: 44.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009702/1.268, allocations: 440.4 kB / 0.6613 GB, free: 44.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004249/1.272, allocations: 0.5834 MB / 0.6619 GB, free: 44.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04696/1.319, allocations: 17.75 MB / 0.6792 GB, free: 38.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003623/1.32, allocations: 82.14 kB / 0.6793 GB, free: 38.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/1.321, allocations: 276.2 kB / 0.6795 GB, free: 38.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005852/1.327, allocations: 3.435 MB / 0.6829 GB, free: 37.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/1.358, allocations: 14.69 MB / 0.6972 GB, free: 28.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09809/1.456, allocations: 68.6 MB / 0.7642 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.474, allocations: 7.286 MB / 0.7713 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/1.475, allocations: 60.81 kB / 0.7714 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.578e-05/1.475, allocations: 70.53 kB / 0.7715 GB, free: 14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=307): time 7.344e-06/1.475, allocations: 0 / 0.7715 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.0955/1.57, allocations: 33.22 MB / 0.8039 GB, free: 2.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/1.571, allocations: 294.7 kB / 0.8042 GB, free: 1.984 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01955/1.59, allocations: 7.816 MB / 0.8118 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/1.591, allocations: 77.02 kB / 0.8119 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006608/1.598, allocations: 5.37 MB / 0.8171 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002855/1.601, allocations: 1.273 MB / 0.8184 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.602, allocations: 191.5 kB / 0.8186 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0006943/1.603, allocations: 0.713 MB / 0.8193 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007465/1.61, allocations: 3.792 MB / 0.823 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/1.623, allocations: 9.363 MB / 0.8321 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.634, allocations: 5.826 MB / 0.8378 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002775/1.635, allocations: 56 kB / 0.8379 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.03746/1.672, allocations: 14.2 MB / 0.8517 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.673, allocations: 92.25 kB / 0.8518 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004676/1.673, allocations: 196 kB / 0.852 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/1.678, allocations: 1.581 MB / 0.8535 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3098/1.988, allocations: 2.276 MB / 0.8558 GB, free: 233.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/2.003, allocations: 12.68 MB / 0.8682 GB, free: 229.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009919/2.013, allocations: 0.5388 MB / 0.8687 GB, free: 229.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/2.015, allocations: 0.5669 MB / 0.8692 GB, free: 229.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1169): * Single equations (assignments): 1163 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007977/2.023, allocations: 3.595 MB / 0.8727 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.025, allocations: 0.6445 MB / 0.8734 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/2.038, allocations: 7.005 MB / 0.8802 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.915e-05/2.038, allocations: 36.5 kB / 0.8802 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/2.039, allocations: 9.5 kB / 0.8803 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/2.039, allocations: 17.88 kB / 0.8803 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03906/2.078, allocations: 16.07 MB / 0.896 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/2.078, allocations: 1.062 kB / 0.896 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/2.081, allocations: 0.6218 MB / 0.8966 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/2.085, allocations: 1.256 MB / 0.8978 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005901/2.085, allocations: 62.56 kB / 0.8979 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/2.097, allocations: 11.65 MB / 0.9092 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.097, allocations: 0 / 0.9092 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/2.115, allocations: 11.77 MB / 0.9207 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005208/2.121, allocations: 1.258 MB / 0.922 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/2.123, allocations: 55.16 kB / 0.922 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/2.128, allocations: 207.9 kB / 0.9222 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007726/2.129, allocations: 202.3 kB / 0.9224 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/2.129, allocations: 83.2 kB / 0.9225 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01095/2.14, allocations: 5.041 MB / 0.9274 GB, free: 204 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.91e-07/2.14, allocations: 2.625 kB / 0.9274 GB, free: 204 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01187/2.152, allocations: 1.841 MB / 0.9292 GB, free: 202.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01887/2.171, allocations: 12.68 MB / 0.9416 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01631/2.188, allocations: 9.479 MB / 0.9508 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.188, allocations: 0 / 0.9508 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006454/2.194, allocations: 3.671 MB / 0.9544 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/2.2, allocations: 0.8156 MB / 0.9552 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3903/2.59, allocations: 209.2 MB / 1.16 GB, free: 218.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/2.603, allocations: 5.615 MB / 1.165 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01218/2.616, allocations: 3.174 MB / 1.168 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007647/2.623, allocations: 3.67 MB / 1.172 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.683e-06/2.623, allocations: 0 / 1.172 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4576/3.081, allocations: 144.9 MB / 1.313 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/3.081, allocations: 201.9 kB / 1.313 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/9.711, allocations: 0 / 1.313 GB, free: 188.6 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat