Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000965/0.000965, allocations: 180.2 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.0007796, allocations: 86.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.665e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 58.87 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5376, allocations: 108.3 MB / 0.5718 GB, free: 3.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5379, allocations: 78.88 kB / 0.5719 GB, free: 3.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3414/0.8793, allocations: 135.9 MB / 0.7046 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8794, allocations: 4 kB / 0.7046 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004273/0.8798, allocations: 143.9 kB / 0.7048 GB, free: 2.828 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.6227/1.503, allocations: 6.782 MB / 0.7114 GB, free: 94.6 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.503, allocations: 10.84 kB / 0.7114 GB, free: 94.6 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03449/1.537, allocations: 7.186 MB / 0.7184 GB, free: 94.12 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02329/1.56, allocations: 7.544 MB / 0.7258 GB, free: 93.71 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003978/1.561, allocations: 232.3 kB / 0.726 GB, free: 93.71 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003407/1.564, allocations: 406.3 kB / 0.7264 GB, free: 93.71 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01976/1.584, allocations: 9.825 MB / 0.736 GB, free: 93.67 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/1.619, allocations: 14.82 MB / 0.7505 GB, free: 89.98 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004038/1.619, allocations: 89.88 kB / 0.7505 GB, free: 89.97 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/1.621, allocations: 45.31 kB / 0.7506 GB, free: 89.97 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002698/1.624, allocations: 1.627 MB / 0.7522 GB, free: 89.95 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08073/1.705, allocations: 69.58 MB / 0.8201 GB, free: 44.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007692/1.713, allocations: 5.572 MB / 0.8256 GB, free: 42.03 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004621/1.717, allocations: 3.754 MB / 0.8292 GB, free: 40.47 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/1.718, allocations: 61.02 kB / 0.8293 GB, free: 40.47 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.106e-05/1.718, allocations: 66.81 kB / 0.8294 GB, free: 40.41 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 9.648e-06/1.718, allocations: 0 / 0.8294 GB, free: 40.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.06445/1.782, allocations: 28.76 MB / 0.8574 GB, free: 19.15 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.782, allocations: 243.2 kB / 0.8577 GB, free: 18.87 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007216/1.79, allocations: 4.566 MB / 0.8621 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/1.791, allocations: 25.7 kB / 0.8622 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.793, allocations: 4.932 MB / 0.867 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.795, allocations: 1.229 MB / 0.8682 GB, free: 9.277 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/1.796, allocations: 0 / 0.8682 GB, free: 9.277 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004166/1.796, allocations: 0.7104 MB / 0.8689 GB, free: 8.672 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/1.801, allocations: 3.572 MB / 0.8724 GB, free: 5.48 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009194/1.81, allocations: 8.818 MB / 0.881 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009899/1.82, allocations: 5.525 MB / 0.8864 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/1.82, allocations: 56 kB / 0.8864 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.02704/1.847, allocations: 12.76 MB / 0.8989 GB, free: 11.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.847, allocations: 84 kB / 0.899 GB, free: 11.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/1.848, allocations: 188 kB / 0.8991 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/1.852, allocations: 1.71 MB / 0.9008 GB, free: 9.543 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00856/1.86, allocations: 2.217 MB / 0.903 GB, free: 7.652 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3782/2.239, allocations: 10.77 MB / 0.9135 GB, free: 109.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008555/2.247, allocations: 366.7 kB / 0.9138 GB, free: 109.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002555/2.25, allocations: 0.5487 MB / 0.9144 GB, free: 109.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1136 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002681/2.253, allocations: 0.5803 MB / 0.9149 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01416/2.267, allocations: 6.922 MB / 0.9217 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/2.269, allocations: 0.5031 MB / 0.9222 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/2.282, allocations: 6.949 MB / 0.929 GB, free: 108.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/2.282, allocations: 33.61 kB / 0.929 GB, free: 108.8 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-05/2.282, allocations: 16.33 kB / 0.929 GB, free: 108.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/2.282, allocations: 14.34 kB / 0.929 GB, free: 108.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/2.31, allocations: 14.83 MB / 0.9435 GB, free: 108 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/2.31, allocations: 3.969 kB / 0.9435 GB, free: 108 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/2.313, allocations: 0.6181 MB / 0.9441 GB, free: 108 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/2.317, allocations: 1.409 MB / 0.9455 GB, free: 108 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000446/2.317, allocations: 17.02 kB / 0.9455 GB, free: 108 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/2.328, allocations: 9.897 MB / 0.9552 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/2.328, allocations: 6.031 kB / 0.9552 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/2.345, allocations: 12.1 MB / 0.967 GB, free: 103.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/2.348, allocations: 1.077 MB / 0.9681 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/2.349, allocations: 6.688 kB / 0.9681 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/2.352, allocations: 185.5 kB / 0.9682 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/2.352, allocations: 203.3 kB / 0.9684 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/2.352, allocations: 97.06 kB / 0.9685 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005267/2.358, allocations: 3.054 MB / 0.9715 GB, free: 101.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.162e-06/2.358, allocations: 3.094 kB / 0.9715 GB, free: 101.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01036/2.368, allocations: 1.476 MB / 0.973 GB, free: 101.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01683/2.385, allocations: 13.5 MB / 0.9861 GB, free: 95.27 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01592/2.401, allocations: 9 MB / 0.9949 GB, free: 92.42 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.401, allocations: 0 / 0.9949 GB, free: 92.42 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005475/2.406, allocations: 3.564 MB / 0.9984 GB, free: 91.03 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/2.41, allocations: 0.5264 MB / 0.9989 GB, free: 90.81 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/2.449, allocations: 15.55 MB / 1.014 GB, free: 84.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005955/2.455, allocations: 5.181 MB / 1.019 GB, free: 80.75 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008475/2.463, allocations: 3.009 MB / 1.022 GB, free: 78.99 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005045/2.468, allocations: 3.266 MB / 1.025 GB, free: 75.97 MB / 0.5262 GB Notification: Performance of SimCode: time 1.263e-06/2.468, allocations: 0 / 1.025 GB, free: 75.97 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5011/2.969, allocations: 118.6 MB / 1.141 GB, free: 98.7 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/2.97, allocations: 152.7 kB / 1.141 GB, free: 98.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.711/8.681, allocations: 2.078 kB / 1.141 GB, free: 98.5 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat