Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 90.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.38e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 58.85 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5698, allocations: 106.9 MB / 0.5704 GB, free: 4.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.5701, allocations: 82.55 kB / 0.5705 GB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3196/0.8898, allocations: 129.6 MB / 0.697 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8898, allocations: 0 / 0.697 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003903/0.8902, allocations: 132 kB / 0.6972 GB, free: 10.64 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02123/0.9114, allocations: 6.663 MB / 0.7037 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9115, allocations: 12.03 kB / 0.7037 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3241/1.236, allocations: 7.136 MB / 0.7106 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/1.258, allocations: 7.438 MB / 0.7179 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006758/1.259, allocations: 217.6 kB / 0.7181 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/1.264, allocations: 405.8 kB / 0.7185 GB, free: 97.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01994/1.284, allocations: 9.263 MB / 0.7275 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03374/1.317, allocations: 14.34 MB / 0.7416 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005372/1.318, allocations: 92.34 kB / 0.7416 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003096/1.321, allocations: 43.75 kB / 0.7417 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002285/1.323, allocations: 1.55 MB / 0.7432 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08019/1.404, allocations: 69.81 MB / 0.8114 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/1.411, allocations: 5.193 MB / 0.8164 GB, free: 45.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/1.416, allocations: 3.503 MB / 0.8199 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/1.416, allocations: 397.8 kB / 0.8202 GB, free: 44.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/1.416, allocations: 69.78 kB / 0.8203 GB, free: 43.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 7.344e-06/1.416, allocations: 0 / 0.8203 GB, free: 43.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=312): time 0.0581/1.475, allocations: 27.54 MB / 0.8472 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.475, allocations: 243.6 kB / 0.8474 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.485, allocations: 4.793 MB / 0.8521 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009597/1.486, allocations: 25.7 kB / 0.8521 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003446/1.49, allocations: 4.934 MB / 0.857 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.492, allocations: 1.154 MB / 0.8581 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.493, allocations: 4 kB / 0.8581 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008552/1.494, allocations: 0.7008 MB / 0.8588 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.499, allocations: 3.418 MB / 0.8621 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007349/1.506, allocations: 8.876 MB / 0.8708 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/1.514, allocations: 5.434 MB / 0.8761 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.514, allocations: 56 kB / 0.8761 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.02815/1.542, allocations: 12.56 MB / 0.8884 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003416/1.542, allocations: 88 kB / 0.8885 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004312/1.543, allocations: 198.7 kB / 0.8887 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004878/1.548, allocations: 1.727 MB / 0.8904 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008618/1.556, allocations: 2.208 MB / 0.8925 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.574, allocations: 10.85 MB / 0.9031 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/1.582, allocations: 371.6 kB / 0.9035 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/1.584, allocations: 0.5567 MB / 0.904 GB, free: 7.422 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * Number of states: 0 () * Number of discrete variables: 63 (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.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1151): * Single equations (assignments): 1146 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003305/1.588, allocations: 0.5961 MB / 0.9046 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01242/1.6, allocations: 6.455 MB / 0.9109 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/1.602, allocations: 0.5205 MB / 0.9114 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3163/1.918, allocations: 6.776 MB / 0.918 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.399e-05/1.918, allocations: 31.5 kB / 0.918 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.24e-05/1.918, allocations: 13.64 kB / 0.9181 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.789e-05/1.919, allocations: 14.59 kB / 0.9181 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03393/1.952, allocations: 13.74 MB / 0.9315 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/1.953, allocations: 3.875 kB / 0.9315 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/1.956, allocations: 0.5378 MB / 0.932 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/1.96, allocations: 1.402 MB / 0.9334 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/1.96, allocations: 14.08 kB / 0.9334 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.972, allocations: 9.889 MB / 0.9431 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.972, allocations: 7.344 kB / 0.9431 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/1.988, allocations: 10.94 MB / 0.9538 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.991, allocations: 1.032 MB / 0.9548 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/1.992, allocations: 8.609 kB / 0.9548 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003644/1.996, allocations: 166.8 kB / 0.9549 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008709/1.997, allocations: 179.2 kB / 0.9551 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004952/1.997, allocations: 79.27 kB / 0.9552 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007149/2.005, allocations: 3.227 MB / 0.9583 GB, free: 110 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.653e-06/2.005, allocations: 4.281 kB / 0.9583 GB, free: 110 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01093/2.016, allocations: 1.428 MB / 0.9597 GB, free: 110 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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.01687/2.032, allocations: 12.05 MB / 0.9715 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0144/2.047, allocations: 8.596 MB / 0.9799 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/2.047, allocations: 3.312 kB / 0.9799 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005881/2.053, allocations: 3.317 MB / 0.9831 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/2.057, allocations: 0.5232 MB / 0.9836 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/2.096, allocations: 14.96 MB / 0.9982 GB, free: 97.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009453/2.106, allocations: 5.049 MB / 1.003 GB, free: 95.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009166/2.115, allocations: 3.008 MB / 1.006 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005595/2.121, allocations: 3.187 MB / 1.009 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/2.121, allocations: 0 / 1.009 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4486/2.569, allocations: 117.2 MB / 1.124 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/2.57, allocations: 124.4 kB / 1.124 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.718/8.288, allocations: 0 / 1.124 GB, free: 89.82 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat