Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",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.001357/0.001357, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.558/1.558, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008494/0.0008492, allocations: 86.61 kB / 267 MB, free: 9.281 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.4551/0.4551, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.939e-05, allocations: 4 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 58.85 MB / 484.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.6171, allocations: 108.7 MB / 0.579 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6175, allocations: 80.89 kB / 0.5791 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7341/1.352, allocations: 152.8 MB / 0.7283 GB, free: 82.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.352, allocations: 0 / 0.7283 GB, free: 82.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004989/1.352, allocations: 146.8 kB / 0.7284 GB, free: 82.2 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03032/1.383, allocations: 7.389 MB / 0.7357 GB, free: 79.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/1.383, allocations: 8.656 kB / 0.7357 GB, free: 79.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007492/1.39, allocations: 1.349 MB / 0.737 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03858/1.429, allocations: 9.633 MB / 0.7464 GB, free: 77.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/1.455, allocations: 9.133 MB / 0.7553 GB, free: 74.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/1.456, allocations: 0.5808 MB / 0.7559 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005489/1.462, allocations: 0.7657 MB / 0.7566 GB, free: 73.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04844/1.51, allocations: 18.04 MB / 0.7742 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006355/1.511, allocations: 115.9 kB / 0.7744 GB, free: 64.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004811/1.516, allocations: 369.7 kB / 0.7747 GB, free: 63.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002915/1.519, allocations: 1.7 MB / 0.7764 GB, free: 63.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/1.549, allocations: 14.4 MB / 0.7904 GB, free: 51.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4953/2.044, allocations: 80.91 MB / 0.8694 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/2.062, allocations: 7.132 MB / 0.8764 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005513/2.067, allocations: 4.065 MB / 0.8804 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/2.068, allocations: 62.02 kB / 0.8804 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/2.068, allocations: 81.3 kB / 0.8805 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 7.695e-06/2.068, allocations: 0 / 0.8805 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.07344/2.141, allocations: 27.39 MB / 0.9073 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/2.141, allocations: 296.2 kB / 0.9075 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0164/2.158, allocations: 6.533 MB / 0.9139 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.159, allocations: 77.86 kB / 0.914 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005225/2.164, allocations: 5.386 MB / 0.9193 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/2.166, allocations: 1.278 MB / 0.9205 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009316/2.167, allocations: 193 kB / 0.9207 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005064/2.168, allocations: 0.7146 MB / 0.9214 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005491/2.173, allocations: 3.602 MB / 0.9249 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008809/2.182, allocations: 9.221 MB / 0.9339 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/2.191, allocations: 5.708 MB / 0.9395 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000272/2.192, allocations: 58.72 kB / 0.9395 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03093/2.223, allocations: 13.76 MB / 0.953 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/2.223, allocations: 89.25 kB / 0.9531 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003621/2.223, allocations: 201.7 kB / 0.9533 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/2.227, allocations: 1.368 MB / 0.9546 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00873/2.236, allocations: 2.247 MB / 0.9568 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/2.248, allocations: 11.24 MB / 0.9678 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.258, allocations: 0.5388 MB / 0.9683 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002689/2.261, allocations: 0.569 MB / 0.9688 GB, free: 2.688 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1175): * Single equations (assignments): 1169 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004263/2.265, allocations: 0.839 MB / 0.9697 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002999/2.268, allocations: 0.6476 MB / 0.9703 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/2.284, allocations: 6.6 MB / 0.9767 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-05/2.284, allocations: 35.06 kB / 0.9768 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-05/2.284, allocations: 13.22 kB / 0.9768 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.93e-05/2.284, allocations: 14.95 kB / 0.9768 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/2.327, allocations: 15.39 MB / 0.9918 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/2.327, allocations: 7.234 kB / 0.9918 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/2.331, allocations: 0.5764 MB / 0.9924 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/2.334, allocations: 1.054 MB / 0.9934 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009701/2.335, allocations: 61.66 kB / 0.9935 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/2.348, allocations: 10.26 MB / 1.004 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.349, allocations: 7.938 kB / 1.004 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/2.368, allocations: 11.12 MB / 1.014 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005513/2.374, allocations: 1.208 MB / 1.016 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/2.377, allocations: 57.25 kB / 1.016 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005002/2.382, allocations: 200.8 kB / 1.016 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009785/2.383, allocations: 205.8 kB / 1.016 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003342/2.383, allocations: 85.61 kB / 1.016 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01143/2.395, allocations: 4.643 MB / 1.021 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.92e-07/2.395, allocations: 4 kB / 1.021 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01374/2.408, allocations: 1.794 MB / 1.022 GB, free: 8.797 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02872/2.437, allocations: 12.72 MB / 1.035 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01804/2.455, allocations: 9.117 MB / 1.044 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/2.455, allocations: 0 / 1.044 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006575/2.462, allocations: 3.488 MB / 1.047 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007128/2.469, allocations: 0.8264 MB / 1.048 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/2.522, allocations: 16.86 MB / 1.064 GB, free: 3.992 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/2.535, allocations: 5.608 MB / 1.07 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01145/2.546, allocations: 3.176 MB / 1.073 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009028/2.555, allocations: 3.666 MB / 1.077 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of SimCode: time 2.535e-06/2.555, allocations: 0 / 1.077 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6384/3.194, allocations: 142.1 MB / 1.215 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/3.194, allocations: 165.9 kB / 1.216 GB, free: 112 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/11.4, allocations: 0 / 1.216 GB, free: 112 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat