Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.0008492/0.0008493, 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.000987/0.000987, allocations: 177.2 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.449/1.449, allocations: 205.4 MB / 222.8 MB, free: 5.875 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.353/0.353, allocations: 43.55 MB / 314.6 MB, free: 8.73 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.0005238/0.0005239, allocations: 14.97 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 58.86 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2805/0.4052, allocations: 81.36 MB / 0.5119 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04407/0.4493, allocations: 16.6 MB / 0.5282 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02205/0.4714, allocations: 378.9 kB / 0.5285 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01616/0.4876, allocations: 4.286 MB / 0.5327 GB, free: 136 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03857/0.5262, allocations: 12.41 MB / 0.5448 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006409/0.5326, allocations: 0.9224 MB / 0.5457 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04563/0.5783, allocations: 35.91 MB / 0.5808 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.5906, allocations: 7.253 MB / 0.5879 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.5952, allocations: 1.957 MB / 0.5898 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005224/0.6004, allocations: 3.072 MB / 0.5928 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.6021, allocations: 236 kB / 0.593 GB, free: 6.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.6064, allocations: 1.123 MB / 0.5941 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004654/0.6111, allocations: 2.688 MB / 0.5967 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002942/0.614, allocations: 1.31 MB / 0.598 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.6243, allocations: 8.939 MB / 0.6068 GB, free: 8.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6243, allocations: 8 kB / 0.6068 GB, free: 8.121 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6243, allocations: 0 / 0.6068 GB, free: 8.121 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.6248, allocations: 0 / 0.6068 GB, free: 8.121 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01574/0.6405, allocations: 6.425 MB / 0.613 GB, free: 1.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6406, allocations: 8.031 kB / 0.613 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00353/0.6441, allocations: 1.116 MB / 0.6141 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/0.6774, allocations: 6.352 MB / 0.6203 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.6881, allocations: 4.966 MB / 0.6252 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/0.6885, allocations: 385.8 kB / 0.6256 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.6905, allocations: 0.4958 MB / 0.626 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2737/0.9642, allocations: 16.28 MB / 0.6419 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.9644, allocations: 54.28 kB / 0.642 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/0.965, allocations: 238.6 kB / 0.6422 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00443/0.9695, allocations: 3.153 MB / 0.6453 GB, free: 138.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02912/0.9986, allocations: 13.96 MB / 0.6589 GB, free: 134.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07314/1.072, allocations: 58.76 MB / 0.7163 GB, free: 90.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.086, allocations: 7.045 MB / 0.7232 GB, free: 82.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004505/1.091, allocations: 4.36 MB / 0.7274 GB, free: 78.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/1.11, allocations: 15.03 MB / 0.7421 GB, free: 63.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/1.11, allocations: 68.56 kB / 0.7422 GB, free: 63.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.222e-06/1.11, allocations: 0 / 0.7422 GB, free: 63.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07193/1.182, allocations: 31.21 MB / 0.7727 GB, free: 31.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/1.182, allocations: 218.2 kB / 0.7729 GB, free: 31.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008223/1.19, allocations: 5.345 MB / 0.7781 GB, free: 26.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007627/1.191, allocations: 73.7 kB / 0.7782 GB, free: 26.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.194, allocations: 4.391 MB / 0.7824 GB, free: 21.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002227/1.196, allocations: 1.273 MB / 0.7837 GB, free: 20.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.197, allocations: 160.6 kB / 0.7838 GB, free: 20.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008764/1.198, allocations: 0.6492 MB / 0.7845 GB, free: 19.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005723/1.204, allocations: 3.678 MB / 0.7881 GB, free: 16.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00692/1.211, allocations: 8.151 MB / 0.796 GB, free: 5.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006979/1.218, allocations: 5.352 MB / 0.8013 GB, free: 448 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.218, allocations: 44 kB / 0.8013 GB, free: 404 kB / 494.1 MB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02488/1.243, allocations: 13.22 MB / 0.8142 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/1.243, allocations: 75.98 kB / 0.8143 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/1.243, allocations: 152 kB / 0.8144 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004506/1.248, allocations: 1.773 MB / 0.8162 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2391/1.487, allocations: 1.928 MB / 0.818 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.5, allocations: 12.01 MB / 0.8298 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006489/1.507, allocations: 489.5 kB / 0.8302 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.509, allocations: 482.6 kB / 0.8307 GB, free: 136.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (994): * Single equations (assignments): 989 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006038/1.515, allocations: 3.098 MB / 0.8337 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.516, allocations: 0.5 MB / 0.8342 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.528, allocations: 7.648 MB / 0.8417 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/1.528, allocations: 38.69 kB / 0.8417 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.528, allocations: 9.062 kB / 0.8417 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.528, allocations: 19.5 kB / 0.8417 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.559, allocations: 16.4 MB / 0.8578 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/1.559, allocations: 2.047 kB / 0.8578 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.562, allocations: 0.6128 MB / 0.8584 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004117/1.566, allocations: 1.525 MB / 0.8599 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006609/1.567, allocations: 61.22 kB / 0.8599 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.583, allocations: 11.2 MB / 0.8708 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.583, allocations: 6.75 kB / 0.8709 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/1.604, allocations: 12.19 MB / 0.8828 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/1.607, allocations: 1.12 MB / 0.8839 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/1.609, allocations: 58.67 kB / 0.8839 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.612, allocations: 246.9 kB / 0.8841 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/1.613, allocations: 202 kB / 0.8843 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004352/1.613, allocations: 93.91 kB / 0.8844 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006283/1.619, allocations: 3.353 MB / 0.8877 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.619, allocations: 1.5 kB / 0.8877 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008859/1.628, allocations: 1.632 MB / 0.8893 GB, free: 111.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.01863/1.647, allocations: 12.88 MB / 0.9019 GB, free: 98.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.66, allocations: 9.086 MB / 0.9108 GB, free: 89.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.66, allocations: 1.859 kB / 0.9108 GB, free: 89.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006341/1.667, allocations: 3.871 MB / 0.9145 GB, free: 86.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005613/1.672, allocations: 0.6693 MB / 0.9152 GB, free: 85.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09467/1.767, allocations: 58.53 MB / 0.9724 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007799/1.775, allocations: 4.798 MB / 0.977 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007827/1.783, allocations: 2.68 MB / 0.9797 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004686/1.788, allocations: 3.077 MB / 0.9827 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.904e-06/1.788, allocations: 3.938 kB / 0.9827 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/2.971, allocations: 124.2 MB / 1.104 GB, free: 90.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/2.972, allocations: 211.3 kB / 1.104 GB, free: 89.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/7.773, allocations: 0 / 1.104 GB, free: 89.85 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat