Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001064, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009506/0.0009505, allocations: 91.27 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.913e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08731, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4632, allocations: 111.6 MB / 0.6205 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.4636, allocations: 77.7 kB / 0.6205 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.762/1.226, allocations: 210.7 MB / 0.8263 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.414e-06/1.226, allocations: 0 / 0.8263 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009123/1.227, allocations: 222.1 kB / 0.8265 GB, free: 100.5 MB / 0.5261 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.03804/1.265, allocations: 10.74 MB / 0.837 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.265, allocations: 12.91 kB / 0.837 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008781/1.273, allocations: 1.862 MB / 0.8388 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04659/1.32, allocations: 12.43 MB / 0.851 GB, free: 94.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02621/1.346, allocations: 10.57 MB / 0.8613 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008816/1.347, allocations: 0.8165 MB / 0.8621 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005153/1.352, allocations: 1.104 MB / 0.8632 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06311/1.416, allocations: 25.72 MB / 0.8883 GB, free: 58.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009662/1.417, allocations: 138.8 kB / 0.8884 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005787/1.422, allocations: 0.5057 MB / 0.8889 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/1.426, allocations: 2.35 MB / 0.8912 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04497/1.471, allocations: 20.99 MB / 0.9117 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4694/1.94, allocations: 108.5 MB / 1.018 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03198/1.972, allocations: 12.37 MB / 1.03 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00814/1.98, allocations: 6.962 MB / 1.036 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/1.983, allocations: 2.324 MB / 1.039 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.768e-05/1.983, allocations: 90.25 kB / 1.039 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=443): time 1.264e-05/1.983, allocations: 0 / 1.039 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=527): time 0.132/2.115, allocations: 48.65 MB / 1.086 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/2.115, allocations: 317.2 kB / 1.087 GB, free: 41.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01966/2.135, allocations: 8.517 MB / 1.095 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001578/2.136, allocations: 107.4 kB / 1.095 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006367/2.143, allocations: 7.133 MB / 1.102 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002708/2.145, allocations: 1.945 MB / 1.104 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/2.147, allocations: 256.4 kB / 1.104 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006196/2.147, allocations: 0.8487 MB / 1.105 GB, free: 31.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007721/2.155, allocations: 5.478 MB / 1.11 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/2.166, allocations: 12.47 MB / 1.123 GB, free: 17.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.179, allocations: 8.187 MB / 1.131 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002316/2.179, allocations: 72 kB / 1.131 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1656) (initialization): time 0.04664/2.226, allocations: 20.99 MB / 1.151 GB, free: 9.867 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/2.226, allocations: 115.3 kB / 1.151 GB, free: 9.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003794/2.227, allocations: 244.5 kB / 1.151 GB, free: 9.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008042/2.235, allocations: 3.23 MB / 1.155 GB, free: 7.141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/2.246, allocations: 3.085 MB / 1.158 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02879/2.275, allocations: 22.5 MB / 1.18 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3465/2.622, allocations: 0.7686 MB / 1.18 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004212/2.626, allocations: 0.7373 MB / 1.181 GB, free: 138.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1116 * Number of states: 0 () * Number of discrete variables: 120 (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.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.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 (1536): * Single equations (assignments): 1529 * 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.005613/2.632, allocations: 1.086 MB / 1.182 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/2.634, allocations: 0.8685 MB / 1.183 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02593/2.66, allocations: 12.26 MB / 1.195 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.43e-05/2.66, allocations: 56.86 kB / 1.195 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.095e-05/2.66, allocations: 16.69 kB / 1.195 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/2.66, allocations: 24.56 kB / 1.195 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0565/2.717, allocations: 27.19 MB / 1.222 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.012e-05/2.717, allocations: 3.75 kB / 1.222 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00492/2.722, allocations: 0.983 MB / 1.223 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006732/2.729, allocations: 2.822 MB / 1.225 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/2.73, allocations: 100.6 kB / 1.225 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/2.753, allocations: 21.01 MB / 1.246 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/2.753, allocations: 9.344 kB / 1.246 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02958/2.783, allocations: 20.33 MB / 1.266 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/2.786, allocations: 0.9395 MB / 1.267 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002828/2.789, allocations: 89.94 kB / 1.267 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005871/2.794, allocations: 411 kB / 1.267 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/2.796, allocations: 322.3 kB / 1.267 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009247/2.797, allocations: 134.7 kB / 1.268 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01261/2.809, allocations: 6.086 MB / 1.274 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.012e-06/2.809, allocations: 0 / 1.274 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01468/2.824, allocations: 2.624 MB / 1.276 GB, free: 114.1 MB / 0.5886 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.0319/2.856, allocations: 21.54 MB / 1.297 GB, free: 98.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02053/2.877, allocations: 13.9 MB / 1.311 GB, free: 86.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/2.877, allocations: 0 / 1.311 GB, free: 86.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009993/2.887, allocations: 6.047 MB / 1.317 GB, free: 81.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007492/2.894, allocations: 1.167 MB / 1.318 GB, free: 80.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/2.954, allocations: 24.9 MB / 1.342 GB, free: 58.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/2.968, allocations: 7.581 MB / 1.35 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01222/2.98, allocations: 4.21 MB / 1.354 GB, free: 50.69 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008364/2.988, allocations: 5.287 MB / 1.359 GB, free: 45.78 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/2.989, allocations: 0 / 1.359 GB, free: 45.78 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5868/3.575, allocations: 202.2 MB / 1.556 GB, free: 41.47 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/3.575, allocations: 165.6 kB / 1.556 GB, free: 41.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/13.96, allocations: 0.6562 kB / 1.556 GB, free: 41.25 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat