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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009153, allocations: 88.19 kB / 15.7 MB, free: 460 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.001123/0.001123, allocations: 175.8 kB / 16.58 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.37/1.37, allocations: 205.4 MB / 222.7 MB, free: 5.879 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.344/0.344, allocations: 43.55 MB / 314.6 MB, free: 8.68 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.0005937/0.0005939, allocations: 16 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1189, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.2658/0.3847, allocations: 88.58 MB / 0.519 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04924/0.434, allocations: 17.84 MB / 0.5364 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.024/0.458, allocations: 418.5 kB / 0.5368 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01821/0.4763, allocations: 4.665 MB / 0.5414 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04625/0.5226, allocations: 13.56 MB / 0.5546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007123/0.5297, allocations: 0.9292 MB / 0.5555 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04882/0.5786, allocations: 36.35 MB / 0.591 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.5915, allocations: 7.409 MB / 0.5983 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.5973, allocations: 2.063 MB / 0.6003 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0068/0.6041, allocations: 3.256 MB / 0.6035 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.606, allocations: 244 kB / 0.6037 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00448/0.6105, allocations: 1.131 MB / 0.6048 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004766/0.6153, allocations: 2.879 MB / 0.6076 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.6194, allocations: 1.388 MB / 0.609 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.6323, allocations: 9.328 MB / 0.6181 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6323, allocations: 0 / 0.6181 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6324, allocations: 0 / 0.6181 GB, free: 12.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005424/0.6329, allocations: 0 / 0.6181 GB, free: 12.53 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.0193/0.6522, allocations: 6.864 MB / 0.6248 GB, free: 5.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6523, allocations: 8.031 kB / 0.6248 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00405/0.6563, allocations: 1.162 MB / 0.6259 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4686/1.125, allocations: 6.433 MB / 0.6322 GB, free: 144 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.136, allocations: 5.234 MB / 0.6373 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/1.136, allocations: 401.5 kB / 0.6377 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/1.139, allocations: 0.5196 MB / 0.6382 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/1.17, allocations: 16.77 MB / 0.6546 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/1.17, allocations: 69.48 kB / 0.6546 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006195/1.171, allocations: 250.9 kB / 0.6549 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005367/1.176, allocations: 3.251 MB / 0.6581 GB, free: 135.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03141/1.207, allocations: 14.2 MB / 0.6719 GB, free: 131.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06719/1.275, allocations: 62.37 MB / 0.7328 GB, free: 73.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.289, allocations: 6.769 MB / 0.7394 GB, free: 66.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/1.294, allocations: 4.114 MB / 0.7435 GB, free: 62.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/1.308, allocations: 9.441 MB / 0.7527 GB, free: 52.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.308, allocations: 64.81 kB / 0.7527 GB, free: 52.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.763e-06/1.308, allocations: 0 / 0.7527 GB, free: 52.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.07882/1.387, allocations: 33.02 MB / 0.785 GB, free: 19.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/1.387, allocations: 240.2 kB / 0.7852 GB, free: 19.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00767/1.395, allocations: 6.729 MB / 0.7918 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007157/1.395, allocations: 77.7 kB / 0.7919 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.398, allocations: 4.814 MB / 0.7966 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.399, allocations: 1.256 MB / 0.7978 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/1.4, allocations: 176 kB / 0.798 GB, free: 6.004 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003724/1.4, allocations: 0.6823 MB / 0.7986 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.405, allocations: 3.819 MB / 0.8024 GB, free: 1.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009337/1.414, allocations: 8.874 MB / 0.811 GB, free: 6.125 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008534/1.423, allocations: 5.678 MB / 0.8166 GB, free: 460 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-05/1.423, allocations: 52 kB / 0.8166 GB, free: 408 kB / 0.4982 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.2751/1.698, allocations: 14.04 MB / 0.8303 GB, free: 136.5 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.698, allocations: 79.41 kB / 0.8304 GB, free: 136.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/1.698, allocations: 175.1 kB / 0.8306 GB, free: 136.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/1.702, allocations: 1.815 MB / 0.8323 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006848/1.709, allocations: 2.086 MB / 0.8344 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/1.723, allocations: 12.06 MB / 0.8462 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007528/1.731, allocations: 0.5226 MB / 0.8467 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.733, allocations: 0.5201 MB / 0.8472 GB, free: 129.5 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1080 * Array equations: 5 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007364/1.74, allocations: 3.294 MB / 0.8504 GB, free: 128 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.742, allocations: 0.5891 MB / 0.851 GB, free: 128 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/1.758, allocations: 7.699 MB / 0.8585 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/1.758, allocations: 42.39 kB / 0.8585 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-05/1.758, allocations: 11.16 kB / 0.8585 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.08e-05/1.758, allocations: 16.75 kB / 0.8586 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03642/1.795, allocations: 16.35 MB / 0.8745 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/1.795, allocations: 7.25 kB / 0.8745 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/1.798, allocations: 0.5743 MB / 0.8751 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003697/1.801, allocations: 1.536 MB / 0.8766 GB, free: 119 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000519/1.802, allocations: 63.09 kB / 0.8767 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.815, allocations: 11.26 MB / 0.8876 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.815, allocations: 15.89 kB / 0.8877 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.833, allocations: 12.15 MB / 0.8995 GB, free: 99.95 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003193/1.836, allocations: 1.227 MB / 0.9007 GB, free: 98.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.838, allocations: 59.31 kB / 0.9008 GB, free: 98.64 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.842, allocations: 227.7 kB / 0.901 GB, free: 98.42 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/1.842, allocations: 205.9 kB / 0.9012 GB, free: 98.22 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004115/1.843, allocations: 88.31 kB / 0.9013 GB, free: 98.14 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008054/1.851, allocations: 4.324 MB / 0.9055 GB, free: 93.83 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.6e-07/1.851, allocations: 0 / 0.9055 GB, free: 93.83 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009886/1.861, allocations: 1.712 MB / 0.9072 GB, free: 92.12 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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.01647/1.877, allocations: 12.86 MB / 0.9197 GB, free: 79.15 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.891, allocations: 9.341 MB / 0.9289 GB, free: 69.87 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.891, allocations: 0 / 0.9289 GB, free: 69.87 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005969/1.897, allocations: 3.8 MB / 0.9326 GB, free: 66.06 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/1.904, allocations: 0.7619 MB / 0.9333 GB, free: 65.32 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/2.007, allocations: 67.48 MB / 0.9992 GB, free: 8.188 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006465/2.014, allocations: 5.042 MB / 1.004 GB, free: 3.113 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007527/2.021, allocations: 2.971 MB / 1.007 GB, free: 140 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/2.026, allocations: 3.34 MB / 1.01 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/2.026, allocations: 0 / 1.01 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4205/2.447, allocations: 134.9 MB / 1.142 GB, free: 82.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/2.447, allocations: 214 kB / 1.142 GB, free: 81.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.839/7.286, allocations: 4 kB / 1.142 GB, free: 81.81 MB / 0.5294 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) Environment - environmentSimulation: 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