Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.001107/0.001107, allocations: 183 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.5233, allocations: 109.1 MB / 0.5854 GB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5237, allocations: 76.97 kB / 0.5855 GB, free: 6.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6571/1.181, allocations: 138.9 MB / 0.7211 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.446e-06/1.181, allocations: 3.719 kB / 0.7211 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009797/1.182, allocations: 136.1 kB / 0.7213 GB, free: 96.16 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.03298/1.215, allocations: 7.316 MB / 0.7284 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.215, allocations: 11.58 kB / 0.7284 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00815/1.223, allocations: 1.234 MB / 0.7296 GB, free: 93.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/1.254, allocations: 7.184 MB / 0.7367 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/1.279, allocations: 7.584 MB / 0.7441 GB, free: 91.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009508/1.28, allocations: 0.5207 MB / 0.7446 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005124/1.285, allocations: 0.6915 MB / 0.7452 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/1.332, allocations: 17.24 MB / 0.7621 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005852/1.333, allocations: 95.55 kB / 0.7622 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003933/1.337, allocations: 330.9 kB / 0.7625 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/1.34, allocations: 1.622 MB / 0.7641 GB, free: 88.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/1.371, allocations: 14.37 MB / 0.7781 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08979/1.461, allocations: 72.37 MB / 0.8488 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/1.48, allocations: 7.21 MB / 0.8558 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02422/1.504, allocations: 9.468 MB / 0.8651 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/1.504, allocations: 68.81 kB / 0.8651 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 8.676e-06/1.504, allocations: 0 / 0.8651 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.08445/1.589, allocations: 32.19 MB / 0.8966 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.589, allocations: 248.2 kB / 0.8968 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3433/1.932, allocations: 5.97 MB / 0.9026 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009634/1.933, allocations: 73.48 kB / 0.9027 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005053/1.939, allocations: 4.823 MB / 0.9074 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.941, allocations: 1.262 MB / 0.9086 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/1.942, allocations: 179.6 kB / 0.9088 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006119/1.942, allocations: 0.683 MB / 0.9095 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007488/1.95, allocations: 3.736 MB / 0.9131 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01217/1.962, allocations: 8.788 MB / 0.9217 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009702/1.972, allocations: 5.61 MB / 0.9272 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002587/1.972, allocations: 51.09 kB / 0.9272 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02861/2.001, allocations: 13.86 MB / 0.9408 GB, free: 95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003875/2.001, allocations: 79.97 kB / 0.9409 GB, free: 95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000402/2.002, allocations: 178.8 kB / 0.941 GB, free: 95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/2.006, allocations: 1.7 MB / 0.9427 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008068/2.014, allocations: 2.121 MB / 0.9448 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/2.027, allocations: 11.71 MB / 0.9562 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008592/2.036, allocations: 0.5202 MB / 0.9567 GB, free: 90.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/2.039, allocations: 0.5263 MB / 0.9572 GB, free: 90.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1092): * Single equations (assignments): 1087 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008685/2.047, allocations: 3.292 MB / 0.9604 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/2.049, allocations: 0.5858 MB / 0.961 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/2.064, allocations: 7.526 MB / 0.9684 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/2.064, allocations: 35.08 kB / 0.9684 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-05/2.064, allocations: 11.66 kB / 0.9684 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/2.064, allocations: 16.02 kB / 0.9684 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/2.102, allocations: 16.1 MB / 0.9841 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/2.102, allocations: 3.438 kB / 0.9841 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/2.105, allocations: 0.6263 MB / 0.9848 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/2.108, allocations: 1.426 MB / 0.9861 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005267/2.109, allocations: 70.38 kB / 0.9862 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/2.121, allocations: 10.93 MB / 0.9969 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/2.121, allocations: 7.766 kB / 0.9969 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/2.14, allocations: 12.72 MB / 1.009 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004953/2.145, allocations: 1.199 MB / 1.01 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002883/2.148, allocations: 71.22 kB / 1.011 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004779/2.153, allocations: 228 kB / 1.011 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/2.154, allocations: 212.1 kB / 1.011 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008303/2.155, allocations: 89.2 kB / 1.011 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009721/2.165, allocations: 4.296 MB / 1.015 GB, free: 63.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/2.165, allocations: 0 / 1.015 GB, free: 63.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01397/2.179, allocations: 1.701 MB / 1.017 GB, free: 61.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.02115/2.2, allocations: 14.12 MB / 1.031 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01633/2.217, allocations: 9.193 MB / 1.04 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.259e-05/2.217, allocations: 0 / 1.04 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007514/2.224, allocations: 3.712 MB / 1.043 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/2.23, allocations: 0.7213 MB / 1.044 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.455/2.685, allocations: 188.6 MB / 1.228 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/2.696, allocations: 5.184 MB / 1.233 GB, free: 24.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009691/2.706, allocations: 2.979 MB / 1.236 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00679/2.713, allocations: 3.283 MB / 1.239 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/2.713, allocations: 3.719 kB / 1.239 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4648/3.177, allocations: 134.2 MB / 1.371 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/3.178, allocations: 198.1 kB / 1.371 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/10.08, allocations: 3.531 kB / 1.371 GB, free: 128.4 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat