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.001102/0.001102, allocations: 181.2 kB / 17.06 MB, free: 5.094 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.35/1.35, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 96.73 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3545/0.3545, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3611, allocations: 61.91 MB / 0.5096 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5182, allocations: 110.8 MB / 0.6179 GB, free: 132 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5185, allocations: 87.92 kB / 0.6179 GB, free: 52 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8154/1.334, allocations: 205.2 MB / 0.8183 GB, free: 26.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.334, allocations: 0 / 0.8183 GB, free: 26.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008651/1.335, allocations: 223.9 kB / 0.8185 GB, free: 26.16 MB / 490.7 MB 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.04232/1.377, allocations: 11.41 MB / 0.8297 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.377, allocations: 12.02 kB / 0.8297 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01001/1.387, allocations: 1.862 MB / 0.8315 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04664/1.434, allocations: 12.43 MB / 0.8436 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0367/1.471, allocations: 11.51 MB / 0.8549 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001133/1.472, allocations: 0.8262 MB / 0.8557 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006771/1.479, allocations: 1.093 MB / 0.8568 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7002/2.179, allocations: 25.93 MB / 0.8821 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00109/2.18, allocations: 130.8 kB / 0.8822 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005324/2.186, allocations: 0.5067 MB / 0.8827 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004781/2.19, allocations: 2.351 MB / 0.885 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0487/2.239, allocations: 21.29 MB / 0.9058 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.152/2.391, allocations: 108.6 MB / 1.012 GB, free: 7.113 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03177/2.423, allocations: 12.45 MB / 1.024 GB, free: 3.633 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003/2.426, allocations: 2.33 MB / 1.026 GB, free: 1.578 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/2.426, allocations: 77.56 kB / 1.026 GB, free: 1.508 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=443): time 8.766e-06/2.426, allocations: 3.125 kB / 1.026 GB, free: 1.508 MB / 0.5262 GB Notification: Performance of matching and sorting (n=527): time 0.1593/2.586, allocations: 57.39 MB / 1.082 GB, free: 13 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/2.586, allocations: 313 kB / 1.083 GB, free: 12.63 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/2.604, allocations: 8.64 MB / 1.091 GB, free: 5.445 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001632/2.606, allocations: 108.1 kB / 1.091 GB, free: 5.336 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.3652/2.971, allocations: 7.125 MB / 1.098 GB, free: 124.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003816/2.975, allocations: 1.947 MB / 1.1 GB, free: 124.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002758/2.978, allocations: 254.8 kB / 1.1 GB, free: 124.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001096/2.979, allocations: 0.8441 MB / 1.101 GB, free: 124.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0101/2.989, allocations: 5.594 MB / 1.107 GB, free: 124.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01666/3.006, allocations: 12.62 MB / 1.119 GB, free: 115.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/3.02, allocations: 8.227 MB / 1.127 GB, free: 115.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004503/3.021, allocations: 72.69 kB / 1.127 GB, free: 115.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.05368/3.075, allocations: 20.99 MB / 1.148 GB, free: 114 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003687/3.075, allocations: 116.7 kB / 1.148 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006151/3.076, allocations: 245.3 kB / 1.148 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009165/3.085, allocations: 3.241 MB / 1.151 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/3.097, allocations: 3.091 MB / 1.154 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02631/3.123, allocations: 23.17 MB / 1.177 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/3.136, allocations: 0.7683 MB / 1.177 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003081/3.139, allocations: 0.7372 MB / 1.178 GB, free: 103.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 () * Number of clocked 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.0133/3.152, allocations: 4.877 MB / 1.183 GB, free: 101.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0024/3.154, allocations: 0.878 MB / 1.184 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02484/3.179, allocations: 12.35 MB / 1.196 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.095e-05/3.179, allocations: 54.56 kB / 1.196 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.785e-05/3.18, allocations: 17.16 kB / 1.196 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001498/3.18, allocations: 23.81 kB / 1.196 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06117/3.241, allocations: 27.27 MB / 1.223 GB, free: 82.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.819e-05/3.241, allocations: 8.812 kB / 1.223 GB, free: 82.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005157/3.246, allocations: 0.9735 MB / 1.224 GB, free: 81.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006993/3.253, allocations: 2.832 MB / 1.226 GB, free: 79.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/3.255, allocations: 95.28 kB / 1.226 GB, free: 79.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/3.278, allocations: 21.68 MB / 1.248 GB, free: 60.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/3.278, allocations: 8 kB / 1.248 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02999/3.308, allocations: 20.48 MB / 1.268 GB, free: 42.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/3.312, allocations: 0.9375 MB / 1.268 GB, free: 41.58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00404/3.316, allocations: 95.38 kB / 1.269 GB, free: 41.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006864/3.323, allocations: 408.8 kB / 1.269 GB, free: 41.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/3.324, allocations: 325.5 kB / 1.269 GB, free: 41.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004752/3.325, allocations: 134.4 kB / 1.269 GB, free: 40.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01182/3.336, allocations: 6.188 MB / 1.275 GB, free: 35.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.21e-07/3.337, allocations: 0 / 1.275 GB, free: 35.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01629/3.353, allocations: 2.626 MB / 1.278 GB, free: 33.27 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 () * Number of clocked 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.03039/3.383, allocations: 21.67 MB / 1.299 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3385/3.722, allocations: 14.23 MB / 1.313 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/3.722, allocations: 0 / 1.313 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009979/3.732, allocations: 6.118 MB / 1.319 GB, free: 117.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/3.739, allocations: 1.181 MB / 1.32 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6595/4.398, allocations: 281.9 MB / 1.595 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0168/4.415, allocations: 7.586 MB / 1.603 GB, free: 155.2 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02173/4.437, allocations: 4.224 MB / 1.607 GB, free: 155.1 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01721/4.454, allocations: 5.282 MB / 1.612 GB, free: 154.5 MB / 0.6512 GB Notification: Performance of SimCode: time 2.224e-06/4.454, allocations: 0 / 1.612 GB, free: 154.5 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7608/5.215, allocations: 202.6 MB / 1.81 GB, free: 191.6 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/5.215, allocations: 200.5 kB / 1.81 GB, free: 191.3 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/15.81, allocations: 0 / 1.81 GB, free: 191.3 MB / 0.6512 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