Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",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.00113/0.00113, allocations: 93.62 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009893/0.0009894, allocations: 177.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.23 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3217/0.4585, allocations: 62.02 MB / 0.5211 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03598/0.4946, allocations: 14.36 MB / 0.5351 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01698/0.5116, allocations: 314 kB / 0.5354 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01355/0.5252, allocations: 3.133 MB / 0.5384 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03891/0.5641, allocations: 8.996 MB / 0.5472 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.5707, allocations: 0.7714 MB / 0.548 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06939/0.6402, allocations: 48.54 MB / 0.5954 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009713/0.6499, allocations: 5.572 MB / 0.6008 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.653, allocations: 1.3 MB / 0.6021 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.656, allocations: 1.69 MB / 0.6037 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007121/0.6567, allocations: 172 kB / 0.6039 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.6593, allocations: 1.073 MB / 0.6049 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.6617, allocations: 2.042 MB / 0.6069 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.663, allocations: 1.034 MB / 0.6079 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009951/0.6729, allocations: 6.952 MB / 0.6147 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.673, allocations: 0 / 0.6147 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.489e-06/0.673, allocations: 4 kB / 0.6147 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003991/0.6734, allocations: 0 / 0.6147 GB, free: 0.8438 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01549/0.6889, allocations: 5.429 MB / 0.62 GB, free: 11.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.689, allocations: 11.97 kB / 0.6201 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003286/0.6923, allocations: 0.8475 MB / 0.6209 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04205/0.7344, allocations: 8.032 MB / 0.6287 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.7464, allocations: 3.841 MB / 0.6325 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.7469, allocations: 291.3 kB / 0.6328 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/0.7492, allocations: 383.7 kB / 0.6331 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/0.7804, allocations: 11.95 MB / 0.6448 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/0.7807, allocations: 59.38 kB / 0.6448 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008229/0.7815, allocations: 187.8 kB / 0.645 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005532/0.7871, allocations: 2.264 MB / 0.6472 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.8076, allocations: 9.787 MB / 0.6568 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06003/0.8677, allocations: 46.47 MB / 0.7022 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009822/0.8775, allocations: 3.816 MB / 0.7059 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3326/1.21, allocations: 5.725 MB / 0.7115 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.445e-05/1.21, allocations: 54.38 kB / 0.7115 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 1.038e-05/1.21, allocations: 1.312 kB / 0.7115 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.07608/1.286, allocations: 15.98 MB / 0.7272 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/1.287, allocations: 233.8 kB / 0.7274 GB, free: 185 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/1.295, allocations: 5.908 MB / 0.7331 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003779/1.295, allocations: 46.03 kB / 0.7332 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002608/1.298, allocations: 3.851 MB / 0.7369 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009628/1.299, allocations: 0.6555 MB / 0.7376 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.299, allocations: 135.9 kB / 0.7377 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003436/1.299, allocations: 0.5811 MB / 0.7383 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.302, allocations: 2.055 MB / 0.7403 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/1.307, allocations: 6.318 MB / 0.7465 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/1.312, allocations: 3.532 MB / 0.7499 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.96e-05/1.312, allocations: 44 kB / 0.75 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01287/1.325, allocations: 8.59 MB / 0.7583 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/1.325, allocations: 72.94 kB / 0.7584 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.325, allocations: 152 kB / 0.7586 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/1.326, allocations: 0.7479 MB / 0.7593 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/1.33, allocations: 1.505 MB / 0.7608 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/1.336, allocations: 6.56 MB / 0.7672 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.342, allocations: 351.9 kB / 0.7675 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008121/1.343, allocations: 416 kB / 0.7679 GB, free: 149.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (804): * Single equations (assignments): 797 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003938/1.347, allocations: 2.511 MB / 0.7703 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009911/1.348, allocations: 461.9 kB / 0.7708 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/1.352, allocations: 2.659 MB / 0.7734 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.352, allocations: 20 kB / 0.7734 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.352, allocations: 9.625 kB / 0.7734 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.352, allocations: 9.109 kB / 0.7734 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.365, allocations: 7.609 MB / 0.7809 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.365, allocations: 4 kB / 0.7809 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.366, allocations: 251.6 kB / 0.7811 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/1.367, allocations: 0.4934 MB / 0.7816 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.367, allocations: 35.98 kB / 0.7816 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/1.372, allocations: 5.888 MB / 0.7874 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.373, allocations: 4 kB / 0.7874 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/1.378, allocations: 5.422 MB / 0.7927 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.38, allocations: 0.5418 MB / 0.7932 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/1.381, allocations: 32 kB / 0.7932 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.382, allocations: 80.72 kB / 0.7933 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/1.382, allocations: 92.81 kB / 0.7934 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.383, allocations: 45.33 kB / 0.7934 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005178/1.388, allocations: 3.818 MB / 0.7972 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.388, allocations: 0 / 0.7972 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007547/1.395, allocations: 1.143 MB / 0.7983 GB, free: 118 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(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.007143/1.402, allocations: 6.646 MB / 0.8048 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008102/1.411, allocations: 5.106 MB / 0.8098 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.411, allocations: 4.062 kB / 0.8098 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.412, allocations: 1.475 MB / 0.8112 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.416, allocations: 0.5965 MB / 0.8118 GB, free: 104 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/1.746, allocations: 128.2 MB / 0.937 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006564/1.753, allocations: 3.96 MB / 0.9409 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006365/1.759, allocations: 2.145 MB / 0.9429 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00312/1.762, allocations: 2.383 MB / 0.9453 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.762, allocations: 0 / 0.9453 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.904, allocations: 93.05 MB / 1.036 GB, free: 68.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.904, allocations: 195 kB / 1.036 GB, free: 68.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/6.535, allocations: 0 / 1.036 GB, free: 68.63 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat