Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008524/0.0008521, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009552/0.0009553, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 63.48 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3509/0.4979, allocations: 90.54 MB / 0.5588 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05388/0.5518, allocations: 18.27 MB / 0.5766 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02175/0.5736, allocations: 427 kB / 0.577 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01852/0.5922, allocations: 4.806 MB / 0.5817 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04024/0.6324, allocations: 13.89 MB / 0.5953 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007031/0.6395, allocations: 1.01 MB / 0.5963 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1207/0.7603, allocations: 91.8 MB / 0.6859 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.7715, allocations: 7.309 MB / 0.693 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.7758, allocations: 2.024 MB / 0.695 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.781, allocations: 3.209 MB / 0.6982 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.782, allocations: 220 kB / 0.6984 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.7847, allocations: 1.108 MB / 0.6995 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.7878, allocations: 2.832 MB / 0.7022 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.7897, allocations: 1.306 MB / 0.7035 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3163/1.106, allocations: 8.827 MB / 0.7121 GB, free: 100 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.106, allocations: 0.6562 kB / 0.7121 GB, free: 100 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/1.106, allocations: 0 / 0.7121 GB, free: 100 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005022/1.107, allocations: 0 / 0.7121 GB, free: 100 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01897/1.126, allocations: 6.682 MB / 0.7186 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.126, allocations: 10 kB / 0.7186 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00452/1.13, allocations: 1.053 MB / 0.7197 GB, free: 97.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04864/1.179, allocations: 8.492 MB / 0.728 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/1.193, allocations: 5.286 MB / 0.7331 GB, free: 95.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/1.193, allocations: 370.3 kB / 0.7335 GB, free: 95.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/1.196, allocations: 0.4935 MB / 0.734 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03134/1.227, allocations: 14.65 MB / 0.7483 GB, free: 92.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000375/1.228, allocations: 76.83 kB / 0.7483 GB, free: 92.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.23, allocations: 237.8 kB / 0.7486 GB, free: 92.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004841/1.235, allocations: 2.722 MB / 0.7512 GB, free: 91.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.258, allocations: 11.91 MB / 0.7629 GB, free: 85.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06179/1.32, allocations: 56.66 MB / 0.8182 GB, free: 37.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.33, allocations: 4.457 MB / 0.8225 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/1.334, allocations: 2.724 MB / 0.8252 GB, free: 32.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/1.334, allocations: 37.02 kB / 0.8252 GB, free: 32.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.335, allocations: 61.95 kB / 0.8253 GB, free: 32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 6.342e-06/1.335, allocations: 0 / 0.8253 GB, free: 32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.05677/1.391, allocations: 20.54 MB / 0.8453 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/1.391, allocations: 259 kB / 0.8456 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/1.404, allocations: 6.71 MB / 0.8521 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006326/1.405, allocations: 53.7 kB / 0.8522 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003286/1.408, allocations: 4.682 MB / 0.8568 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.409, allocations: 0.809 MB / 0.8576 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009873/1.41, allocations: 156 kB / 0.8577 GB, free: 14.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0007531/1.411, allocations: 0.6325 MB / 0.8583 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00504/1.416, allocations: 2.56 MB / 0.8608 GB, free: 11.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008603/1.425, allocations: 7.484 MB / 0.8681 GB, free: 1.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007376/1.432, allocations: 4.26 MB / 0.8723 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.432, allocations: 48 kB / 0.8723 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1005) (initialization): time 0.02442/1.457, allocations: 10.47 MB / 0.8826 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.457, allocations: 80 kB / 0.8826 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000404/1.458, allocations: 176 kB / 0.8828 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003307/1.461, allocations: 1.037 MB / 0.8838 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006333/1.467, allocations: 1.772 MB / 0.8856 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.48, allocations: 9.565 MB / 0.8949 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007997/1.488, allocations: 430.4 kB / 0.8953 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/1.49, allocations: 480 kB / 0.8958 GB, free: 6.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (939): * Single equations (assignments): 933 * 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.008123/1.499, allocations: 3.054 MB / 0.8987 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.5, allocations: 0.5553 MB / 0.8993 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008717/1.509, allocations: 3.757 MB / 0.903 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/1.509, allocations: 24 kB / 0.903 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/1.509, allocations: 8 kB / 0.903 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.509, allocations: 7.969 kB / 0.903 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/1.534, allocations: 10.17 MB / 0.9129 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.534, allocations: 4 kB / 0.9129 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.536, allocations: 327.8 kB / 0.9132 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/1.538, allocations: 0.7364 MB / 0.914 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.538, allocations: 43.98 kB / 0.914 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.55, allocations: 8.675 MB / 0.9225 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.55, allocations: 3.375 kB / 0.9225 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.562, allocations: 6.608 MB / 0.9289 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002815/1.565, allocations: 0.6149 MB / 0.9295 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/1.567, allocations: 32 kB / 0.9296 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.571, allocations: 123.8 kB / 0.9297 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/1.571, allocations: 124.5 kB / 0.9298 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/1.572, allocations: 55.98 kB / 0.9299 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.2982/1.87, allocations: 4.273 MB / 0.934 GB, free: 244.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.462e-06/1.87, allocations: 0 / 0.934 GB, free: 244.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01241/1.882, allocations: 1.407 MB / 0.9354 GB, free: 244.2 MB / 0.6075 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 (153): * Single equations (assignments): 147 * 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.0135/1.896, allocations: 7.258 MB / 0.9425 GB, free: 243.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.908, allocations: 6.466 MB / 0.9488 GB, free: 240.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.908, allocations: 2.406 kB / 0.9488 GB, free: 240.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.911, allocations: 2.095 MB / 0.9508 GB, free: 239.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/1.916, allocations: 0.7805 MB / 0.9516 GB, free: 239.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09989/2.016, allocations: 57.14 MB / 1.007 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006273/2.022, allocations: 4.658 MB / 1.012 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006322/2.029, allocations: 2.507 MB / 1.014 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004419/2.033, allocations: 3.014 MB / 1.017 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of SimCode: time 4.489e-06/2.033, allocations: 0 / 1.017 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1644/2.197, allocations: 116.6 MB / 1.131 GB, free: 66.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/2.198, allocations: 195.6 kB / 1.131 GB, free: 66.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.12/7.317, allocations: 11.94 kB / 1.131 GB, free: 66.52 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat