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.001119/0.001119, allocations: 96.62 kB / 15.7 MB, free: 468 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.001666/0.001666, allocations: 177 kB / 16.58 MB, free: 6.059 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.682/1.682, allocations: 205.4 MB / 222.7 MB, free: 5.598 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.3784/0.3784, allocations: 43.54 MB / 314.6 MB, free: 8.801 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.000543/0.0005431, allocations: 22.97 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3371/0.4749, allocations: 92.25 MB / 0.5226 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05245/0.5274, allocations: 18.52 MB / 0.5407 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02553/0.553, allocations: 429.9 kB / 0.5411 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0204/0.5734, allocations: 4.854 MB / 0.5458 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04557/0.619, allocations: 14.12 MB / 0.5596 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006669/0.6257, allocations: 1.01 MB / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.06594/0.6916, allocations: 51.41 MB / 0.6108 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.704, allocations: 7.49 MB / 0.6181 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.7098, allocations: 2.195 MB / 0.6203 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006797/0.7166, allocations: 3.552 MB / 0.6237 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002846/0.7195, allocations: 255.9 kB / 0.624 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/0.726, allocations: 1.135 MB / 0.6251 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006363/0.7324, allocations: 3.078 MB / 0.6281 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004564/0.737, allocations: 1.431 MB / 0.6295 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5988/1.336, allocations: 9.731 MB / 0.639 GB, free: 57.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.336, allocations: 0.8906 kB / 0.639 GB, free: 57.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.115e-06/1.336, allocations: 0 / 0.639 GB, free: 57.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006072/1.337, allocations: 0 / 0.639 GB, free: 57.85 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.02203/1.359, allocations: 7.161 MB / 0.646 GB, free: 54.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.359, allocations: 9.938 kB / 0.646 GB, free: 54.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004768/1.363, allocations: 1.164 MB / 0.6471 GB, free: 54.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05014/1.414, allocations: 8.549 MB / 0.6555 GB, free: 54.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/1.429, allocations: 6.28 MB / 0.6616 GB, free: 53.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005095/1.429, allocations: 406.3 kB / 0.662 GB, free: 53.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/1.432, allocations: 0.5373 MB / 0.6625 GB, free: 53.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/1.464, allocations: 16.19 MB / 0.6783 GB, free: 48.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003432/1.465, allocations: 81.05 kB / 0.6784 GB, free: 48.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.466, allocations: 260.3 kB / 0.6787 GB, free: 48.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004515/1.47, allocations: 3.075 MB / 0.6817 GB, free: 47.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02469/1.495, allocations: 13.23 MB / 0.6946 GB, free: 42.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/1.567, allocations: 61.7 MB / 0.7548 GB, free: 6.906 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/1.581, allocations: 5.92 MB / 0.7606 GB, free: 2.316 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004727/1.585, allocations: 3.219 MB / 0.7638 GB, free: 420 kB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/1.586, allocations: 60.34 kB / 0.7638 GB, free: 384 kB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/1.586, allocations: 60.25 kB / 0.7639 GB, free: 332 kB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 5.541e-06/1.586, allocations: 0 / 0.7639 GB, free: 332 kB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.06763/1.653, allocations: 23.71 MB / 0.787 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.653, allocations: 268.7 kB / 0.7873 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01552/1.669, allocations: 7.025 MB / 0.7941 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007608/1.67, allocations: 65.7 kB / 0.7942 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004797/1.675, allocations: 5.044 MB / 0.7991 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.676, allocations: 1.034 MB / 0.8001 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.678, allocations: 175.9 kB / 0.8003 GB, free: 14.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0008173/1.678, allocations: 0.6618 MB / 0.801 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/1.685, allocations: 3.066 MB / 0.8039 GB, free: 10.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/1.695, allocations: 8.321 MB / 0.8121 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00891/1.704, allocations: 4.917 MB / 0.8169 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/1.705, allocations: 56 kB / 0.8169 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02455/1.729, allocations: 11.86 MB / 0.8285 GB, free: 96 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003363/1.73, allocations: 87.95 kB / 0.8286 GB, free: 8 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004915/1.73, allocations: 188 kB / 0.8288 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003247/1.733, allocations: 1.054 MB / 0.8298 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007518/1.741, allocations: 2.004 MB / 0.8318 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.753, allocations: 9.644 MB / 0.8412 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/1.761, allocations: 487.4 kB / 0.8416 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/1.764, allocations: 0.5156 MB / 0.8421 GB, free: 2.027 MB / 0.5763 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.2766/2.04, allocations: 3.311 MB / 0.8454 GB, free: 222.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/2.042, allocations: 0.5934 MB / 0.846 GB, free: 222.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008684/2.05, allocations: 4.887 MB / 0.8507 GB, free: 222.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/2.05, allocations: 31.83 kB / 0.8508 GB, free: 222.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/2.05, allocations: 5.969 kB / 0.8508 GB, free: 222.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/2.05, allocations: 22.38 kB / 0.8508 GB, free: 222.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/2.071, allocations: 12.27 MB / 0.8628 GB, free: 219.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/2.071, allocations: 0 / 0.8628 GB, free: 219.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/2.073, allocations: 468.2 kB / 0.8632 GB, free: 219.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/2.075, allocations: 0.7379 MB / 0.8639 GB, free: 219.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/2.075, allocations: 44.23 kB / 0.864 GB, free: 219.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008745/2.084, allocations: 8.677 MB / 0.8725 GB, free: 213.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/2.084, allocations: 6.094 kB / 0.8725 GB, free: 213.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/2.097, allocations: 8.36 MB / 0.8806 GB, free: 210.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/2.099, allocations: 1.044 MB / 0.8816 GB, free: 210.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/2.1, allocations: 49.45 kB / 0.8817 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/2.103, allocations: 166.8 kB / 0.8819 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/2.103, allocations: 161.2 kB / 0.882 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/2.103, allocations: 69.42 kB / 0.8821 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008566/2.112, allocations: 4.475 MB / 0.8864 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.91e-07/2.112, allocations: 0 / 0.8864 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00964/2.121, allocations: 1.584 MB / 0.888 GB, free: 208.5 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.01237/2.134, allocations: 9.032 MB / 0.8968 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01182/2.146, allocations: 7.719 MB / 0.9043 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.146, allocations: 10.94 kB / 0.9044 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/2.149, allocations: 2.649 MB / 0.9069 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006039/2.155, allocations: 0.808 MB / 0.9077 GB, free: 199.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.105/2.26, allocations: 64.09 MB / 0.9703 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007796/2.268, allocations: 5.058 MB / 0.9753 GB, free: 124.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007806/2.276, allocations: 2.808 MB / 0.978 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005627/2.282, allocations: 3.346 MB / 0.9813 GB, free: 118 MB / 0.5763 GB Notification: Performance of SimCode: time 1.433e-06/2.282, allocations: 0 / 0.9813 GB, free: 118 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3988/2.68, allocations: 127.2 MB / 1.106 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/2.681, allocations: 195.5 kB / 1.106 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/7.82, allocations: 10.27 kB / 1.106 GB, free: 188.7 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