Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009096, allocations: 88.03 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.227e-05/7.243e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1353, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5932, allocations: 110.7 MB / 0.6099 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5935, allocations: 75.97 kB / 0.61 GB, free: 10.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8579/1.451, allocations: 205.4 MB / 0.8106 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.026e-06/1.451, allocations: 0 / 0.8106 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008496/1.452, allocations: 213.3 kB / 0.8108 GB, free: 95.72 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.04101/1.493, allocations: 10.57 MB / 0.8211 GB, free: 85.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.493, allocations: 8.031 kB / 0.8212 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01022/1.504, allocations: 1.877 MB / 0.823 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04806/1.552, allocations: 12.43 MB / 0.8351 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03142/1.583, allocations: 11.46 MB / 0.8463 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000857/1.584, allocations: 0.8184 MB / 0.8471 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006257/1.59, allocations: 1.097 MB / 0.8482 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06155/1.652, allocations: 25.73 MB / 0.8733 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006647/1.653, allocations: 130.8 kB / 0.8734 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003952/1.657, allocations: 0.5076 MB / 0.8739 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/1.66, allocations: 2.353 MB / 0.8762 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04612/1.706, allocations: 20.98 MB / 0.8967 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5554/2.261, allocations: 108.6 MB / 1.003 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03053/2.292, allocations: 12.36 MB / 1.015 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008177/2.3, allocations: 6.953 MB / 1.022 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/2.302, allocations: 2.328 MB / 1.024 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/2.302, allocations: 81.69 kB / 1.024 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 7.674e-06/2.302, allocations: 0 / 1.024 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.1347/2.437, allocations: 48.65 MB / 1.072 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/2.437, allocations: 308.6 kB / 1.072 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01709/2.454, allocations: 8.55 MB / 1.08 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/2.456, allocations: 108.3 kB / 1.08 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00707/2.463, allocations: 7.135 MB / 1.087 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003806/2.467, allocations: 1.945 MB / 1.089 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00198/2.469, allocations: 262 kB / 1.089 GB, free: 12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001087/2.47, allocations: 0.8471 MB / 1.09 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01161/2.482, allocations: 5.488 MB / 1.096 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02023/2.502, allocations: 12.53 MB / 1.108 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/2.519, allocations: 8.206 MB / 1.116 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004027/2.52, allocations: 72 kB / 1.116 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.4703/2.99, allocations: 20.9 MB / 1.136 GB, free: 128.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/2.99, allocations: 111.7 kB / 1.136 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007229/2.991, allocations: 245.7 kB / 1.137 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/3.006, allocations: 3.236 MB / 1.14 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02042/3.027, allocations: 3.088 MB / 1.143 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04111/3.068, allocations: 22.5 MB / 1.165 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01758/3.086, allocations: 0.7673 MB / 1.166 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003786/3.09, allocations: 0.7397 MB / 1.166 GB, free: 122.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1542): * Single equations (assignments): 1535 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005238/3.095, allocations: 1.102 MB / 1.167 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002795/3.098, allocations: 0.8688 MB / 1.168 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/3.13, allocations: 12.27 MB / 1.18 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/3.131, allocations: 55.12 kB / 1.18 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/3.131, allocations: 16.97 kB / 1.18 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001613/3.131, allocations: 25.59 kB / 1.18 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08442/3.215, allocations: 27.17 MB / 1.207 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/3.215, allocations: 3.344 kB / 1.207 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008137/3.224, allocations: 0.9757 MB / 1.208 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/3.236, allocations: 2.831 MB / 1.211 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002437/3.238, allocations: 96.11 kB / 1.211 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04248/3.281, allocations: 21.01 MB / 1.231 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/3.281, allocations: 10.12 kB / 1.231 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05599/3.337, allocations: 20.34 MB / 1.251 GB, free: 93.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006106/3.343, allocations: 0.9361 MB / 1.252 GB, free: 92.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005733/3.349, allocations: 90.92 kB / 1.252 GB, free: 92.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01225/3.361, allocations: 414.3 kB / 1.252 GB, free: 92.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003553/3.365, allocations: 326.9 kB / 1.253 GB, free: 91.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001668/3.366, allocations: 133.6 kB / 1.253 GB, free: 91.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01616/3.383, allocations: 6.099 MB / 1.259 GB, free: 86.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.92e-07/3.383, allocations: 0 / 1.259 GB, free: 86.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02064/3.403, allocations: 2.632 MB / 1.261 GB, free: 83.82 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 428 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.03718/3.441, allocations: 21.54 MB / 1.282 GB, free: 64.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02521/3.466, allocations: 13.91 MB / 1.296 GB, free: 52.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/3.466, allocations: 0 / 1.296 GB, free: 52.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/3.477, allocations: 6.039 MB / 1.302 GB, free: 47.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009821/3.487, allocations: 1.188 MB / 1.303 GB, free: 46.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07684/3.564, allocations: 24.89 MB / 1.327 GB, free: 23.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01755/3.582, allocations: 7.588 MB / 1.335 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01457/3.596, allocations: 4.23 MB / 1.339 GB, free: 11.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01212/3.609, allocations: 5.283 MB / 1.344 GB, free: 6.043 MB / 0.573 GB Notification: Performance of SimCode: time 1.623e-06/3.609, allocations: 0 / 1.344 GB, free: 6.043 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6735/4.282, allocations: 202.5 MB / 1.542 GB, free: 1.305 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/4.282, allocations: 165.9 kB / 1.542 GB, free: 1.082 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/18.64, allocations: 0 / 1.542 GB, free: 1.082 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat