Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",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.001121/0.001121, allocations: 96.28 kB / 15.69 MB, free: 480 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.001372/0.001372, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.66/1.66, allocations: 205.4 MB / 222.7 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.3695/0.3695, allocations: 43.56 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.0005418/0.0005421, allocations: 16 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1262, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3248/0.451, allocations: 87.06 MB / 0.5175 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05526/0.5064, allocations: 19.41 MB / 0.5364 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02468/0.5311, allocations: 438.9 kB / 0.5369 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0184/0.5496, allocations: 4.379 MB / 0.5411 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04547/0.5951, allocations: 12.39 MB / 0.5532 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006787/0.6019, allocations: 0.9976 MB / 0.5542 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.05637/0.6583, allocations: 39.74 MB / 0.593 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.6698, allocations: 7.448 MB / 0.6003 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.6742, allocations: 1.783 MB / 0.602 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.6782, allocations: 2.473 MB / 0.6045 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.6794, allocations: 256 kB / 0.6047 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.6823, allocations: 1.108 MB / 0.6058 GB, free: 9.051 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.6853, allocations: 2.856 MB / 0.6086 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.6875, allocations: 1.438 MB / 0.61 GB, free: 4.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.6984, allocations: 9.722 MB / 0.6195 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6984, allocations: 0 / 0.6195 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6985, allocations: 0 / 0.6195 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004287/0.6989, allocations: 3.938 kB / 0.6195 GB, free: 10.98 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01822/0.7171, allocations: 7.305 MB / 0.6266 GB, free: 3.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.7172, allocations: 12.03 kB / 0.6266 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003849/0.721, allocations: 1.162 MB / 0.6278 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.615/1.336, allocations: 11.21 MB / 0.6387 GB, free: 61.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/1.352, allocations: 5.671 MB / 0.6442 GB, free: 60.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005798/1.352, allocations: 408.1 kB / 0.6446 GB, free: 60.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003221/1.356, allocations: 0.5269 MB / 0.6451 GB, free: 60.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04736/1.403, allocations: 16.33 MB / 0.6611 GB, free: 57.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004826/1.404, allocations: 79.03 kB / 0.6612 GB, free: 57.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/1.405, allocations: 258.8 kB / 0.6614 GB, free: 57.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005699/1.411, allocations: 3.071 MB / 0.6644 GB, free: 57.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02881/1.44, allocations: 13.42 MB / 0.6775 GB, free: 52.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07534/1.515, allocations: 61.91 MB / 0.738 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.528, allocations: 5.933 MB / 0.7438 GB, free: 12.59 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/1.529, allocations: 48.52 kB / 0.7438 GB, free: 12.57 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/1.529, allocations: 64.38 kB / 0.7439 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 4.609e-06/1.529, allocations: 0 / 0.7439 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.06129/1.59, allocations: 24.02 MB / 0.7673 GB, free: 8.211 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.59, allocations: 264.3 kB / 0.7676 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/1.606, allocations: 7.399 MB / 0.7748 GB, free: 2.453 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.607, allocations: 65.39 kB / 0.7749 GB, free: 2.41 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006331/1.614, allocations: 5.053 MB / 0.7798 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/1.616, allocations: 1.028 MB / 0.7808 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/1.618, allocations: 173.1 kB / 0.781 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006805/1.618, allocations: 0.6617 MB / 0.7816 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006505/1.625, allocations: 3.062 MB / 0.7846 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/1.637, allocations: 8.291 MB / 0.7927 GB, free: 212 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00936/1.646, allocations: 4.928 MB / 0.7975 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/1.646, allocations: 52 kB / 0.7976 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02694/1.673, allocations: 11.86 MB / 0.8091 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/1.673, allocations: 87.95 kB / 0.8092 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/1.674, allocations: 186.2 kB / 0.8094 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/1.677, allocations: 1.062 MB / 0.8104 GB, free: 15.32 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009089/1.686, allocations: 1.999 MB / 0.8124 GB, free: 13.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.699, allocations: 9.801 MB / 0.822 GB, free: 3.422 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008888/1.708, allocations: 491.4 kB / 0.8224 GB, free: 2.941 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.71, allocations: 0.5229 MB / 0.8229 GB, free: 2.422 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1053): * Single equations (assignments): 1047 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007354/1.717, allocations: 3.325 MB / 0.8262 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.719, allocations: 0.59 MB / 0.8268 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009165/1.728, allocations: 4.889 MB / 0.8315 GB, free: 9.766 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/1.728, allocations: 32 kB / 0.8316 GB, free: 9.734 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.728, allocations: 4 kB / 0.8316 GB, free: 9.73 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/1.728, allocations: 15.95 kB / 0.8316 GB, free: 9.715 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2911/2.019, allocations: 12.29 MB / 0.8436 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/2.019, allocations: 6 kB / 0.8436 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/2.021, allocations: 463.6 kB / 0.844 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/2.024, allocations: 0.7422 MB / 0.8448 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003775/2.024, allocations: 48.95 kB / 0.8448 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008548/2.033, allocations: 8.849 MB / 0.8535 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.033, allocations: 4.469 kB / 0.8535 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/2.044, allocations: 8.519 MB / 0.8618 GB, free: 204.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/2.047, allocations: 1.058 MB / 0.8628 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/2.048, allocations: 45.95 kB / 0.8629 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/2.05, allocations: 170.3 kB / 0.863 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/2.05, allocations: 155.8 kB / 0.8632 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/2.051, allocations: 74.3 kB / 0.8632 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006741/2.057, allocations: 4.765 MB / 0.8679 GB, free: 203 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.194e-06/2.057, allocations: 2.188 kB / 0.8679 GB, free: 203 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.011/2.068, allocations: 1.61 MB / 0.8695 GB, free: 202.8 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,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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/2.083, allocations: 9.38 MB / 0.8786 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01577/2.099, allocations: 7.718 MB / 0.8862 GB, free: 196 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/2.099, allocations: 5.406 kB / 0.8862 GB, free: 196 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/2.103, allocations: 2.651 MB / 0.8888 GB, free: 194.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/2.109, allocations: 0.7682 MB / 0.8895 GB, free: 194.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1344/2.243, allocations: 192 MB / 1.077 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/2.249, allocations: 5.216 MB / 1.082 GB, free: 8.574 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0069/2.256, allocations: 2.819 MB / 1.085 GB, free: 5.754 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004287/2.261, allocations: 3.346 MB / 1.088 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of SimCode: time 1.062e-06/2.261, allocations: 4 kB / 1.088 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4319/2.692, allocations: 128.3 MB / 1.213 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/2.693, allocations: 190.5 kB / 1.214 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.282/8.975, allocations: 0 / 1.214 GB, free: 126.2 MB / 0.5763 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat