Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.001256/0.001256, allocations: 174.9 kB / 8.004 MB, free: 1.07 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.56/1.56, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0008062/0.0008062, allocations: 94.61 kB / 261.8 MB, free: 1.68 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.2029/0.2029, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.419e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09611, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.5813, allocations: 106.8 MB / 0.5703 GB, free: 4.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5816, allocations: 76.94 kB / 0.5704 GB, free: 4.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3336/0.9152, allocations: 130.6 MB / 0.6979 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9153, allocations: 0 / 0.6979 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003861/0.9157, allocations: 128 kB / 0.698 GB, free: 9.867 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02373/0.9394, allocations: 6.435 MB / 0.7043 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.9395, allocations: 12.03 kB / 0.7043 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.378/1.317, allocations: 7.129 MB / 0.7113 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/1.343, allocations: 7.242 MB / 0.7183 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008896/1.343, allocations: 221.1 kB / 0.7186 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/1.348, allocations: 405.8 kB / 0.7189 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02365/1.372, allocations: 9.522 MB / 0.7282 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/1.402, allocations: 14.42 MB / 0.7423 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000279/1.402, allocations: 80.52 kB / 0.7424 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009491/1.403, allocations: 44.09 kB / 0.7424 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/1.405, allocations: 1.564 MB / 0.744 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07499/1.48, allocations: 67.26 MB / 0.8096 GB, free: 52.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/1.487, allocations: 5.589 MB / 0.8151 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/1.491, allocations: 3.804 MB / 0.8188 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/1.492, allocations: 58.17 kB / 0.8189 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.492, allocations: 70.53 kB / 0.8189 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 7.294e-06/1.492, allocations: 0 / 0.8189 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.05814/1.55, allocations: 29.34 MB / 0.8476 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/1.55, allocations: 218 kB / 0.8478 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007482/1.557, allocations: 4.272 MB / 0.852 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/1.559, allocations: 29.45 kB / 0.852 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002844/1.562, allocations: 4.706 MB / 0.8566 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.563, allocations: 1.206 MB / 0.8578 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004998/1.564, allocations: 4 kB / 0.8578 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004141/1.564, allocations: 0.6789 MB / 0.8584 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/1.569, allocations: 3.624 MB / 0.862 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006355/1.575, allocations: 8.656 MB / 0.8704 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007932/1.583, allocations: 5.51 MB / 0.8758 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/1.583, allocations: 59.89 kB / 0.8759 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03038/1.614, allocations: 12.77 MB / 0.8883 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.614, allocations: 80 kB / 0.8884 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002798/1.614, allocations: 180 kB / 0.8886 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/1.618, allocations: 1.703 MB / 0.8903 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008864/1.627, allocations: 2.175 MB / 0.8924 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3696/1.997, allocations: 10.77 MB / 0.9029 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008576/2.006, allocations: 374.7 kB / 0.9032 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002649/2.008, allocations: 0.5255 MB / 0.9038 GB, free: 96.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 54 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1089 * 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.003345/2.012, allocations: 0.5573 MB / 0.9043 GB, free: 96.77 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01459/2.026, allocations: 7.096 MB / 0.9112 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/2.028, allocations: 488.5 kB / 0.9117 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/2.041, allocations: 7.142 MB / 0.9187 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/2.042, allocations: 37.22 kB / 0.9187 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/2.042, allocations: 7.219 kB / 0.9187 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-05/2.042, allocations: 20.78 kB / 0.9187 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/2.072, allocations: 15 MB / 0.9334 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/2.072, allocations: 6.125 kB / 0.9334 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/2.075, allocations: 0.6597 MB / 0.934 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/2.079, allocations: 1.399 MB / 0.9354 GB, free: 95.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008785/2.08, allocations: 17.91 kB / 0.9354 GB, free: 95.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.091, allocations: 9.853 MB / 0.945 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.091, allocations: 2.781 kB / 0.945 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/2.109, allocations: 12.35 MB / 0.9571 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004213/2.113, allocations: 1.084 MB / 0.9582 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/2.115, allocations: 7.438 kB / 0.9582 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/2.12, allocations: 221.6 kB / 0.9584 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/2.12, allocations: 206.6 kB / 0.9586 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/2.12, allocations: 89.28 kB / 0.9587 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005538/2.126, allocations: 2.858 MB / 0.9615 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/2.126, allocations: 0 / 0.9615 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01093/2.137, allocations: 1.45 MB / 0.9629 GB, free: 87.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (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 (280): * Single equations (assignments): 275 * 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.01973/2.157, allocations: 13.73 MB / 0.9763 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01642/2.173, allocations: 9.1 MB / 0.9852 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.173, allocations: 3.75 kB / 0.9852 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006082/2.179, allocations: 3.635 MB / 0.9887 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/2.184, allocations: 0.4928 MB / 0.9892 GB, free: 76.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04168/2.225, allocations: 15.15 MB / 1.004 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007686/2.233, allocations: 5.004 MB / 1.009 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009012/2.242, allocations: 2.93 MB / 1.012 GB, free: 62.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006486/2.249, allocations: 3.122 MB / 1.015 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.249, allocations: 0 / 1.015 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4887/2.737, allocations: 115 MB / 1.127 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/2.738, allocations: 142.9 kB / 1.127 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.289/8.026, allocations: 0 / 1.127 GB, free: 105.3 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat