Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",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.001965/0.001965, 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.642/1.642, 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.001184/0.001184, allocations: 95.81 kB / 267.1 MB, free: 9.277 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.4492/0.4492, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-05/4.903e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 58.85 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.63, allocations: 105.9 MB / 0.5763 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.6302, allocations: 68.47 kB / 0.5764 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7077/1.338, allocations: 143.7 MB / 0.7167 GB, free: 80.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.224e-06/1.338, allocations: 0 / 0.7167 GB, free: 80.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004809/1.338, allocations: 143.9 kB / 0.7168 GB, free: 80.12 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02601/1.364, allocations: 6.851 MB / 0.7235 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.365, allocations: 9.375 kB / 0.7235 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005753/1.37, allocations: 1.232 MB / 0.7247 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03984/1.41, allocations: 9.536 MB / 0.7341 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02519/1.435, allocations: 8.85 MB / 0.7427 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007378/1.436, allocations: 0.5312 MB / 0.7432 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004944/1.441, allocations: 0.7098 MB / 0.7439 GB, free: 75.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04683/1.488, allocations: 16.54 MB / 0.7601 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006706/1.489, allocations: 98.69 kB / 0.7602 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003858/1.493, allocations: 337.8 kB / 0.7605 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002369/1.495, allocations: 1.533 MB / 0.762 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03012/1.525, allocations: 13.11 MB / 0.7748 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08984/1.615, allocations: 72.69 MB / 0.8458 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.628, allocations: 5.864 MB / 0.8515 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004231/1.632, allocations: 3.069 MB / 0.8545 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/1.633, allocations: 46.95 kB / 0.8545 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.633, allocations: 63.94 kB / 0.8546 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.814e-06/1.633, allocations: 3 kB / 0.8546 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.05366/1.686, allocations: 19.51 MB / 0.8737 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/1.687, allocations: 261.1 kB / 0.8739 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/1.699, allocations: 6.162 MB / 0.8799 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/1.7, allocations: 65.7 kB / 0.88 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005121/1.705, allocations: 5.061 MB / 0.8849 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3845/2.09, allocations: 1.025 MB / 0.8859 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/2.092, allocations: 173.7 kB / 0.8861 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001247/2.093, allocations: 0.6712 MB / 0.8867 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/2.104, allocations: 2.878 MB / 0.8896 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01635/2.121, allocations: 8.159 MB / 0.8975 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/2.132, allocations: 4.8 MB / 0.9022 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003615/2.133, allocations: 53.31 kB / 0.9023 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02738/2.16, allocations: 11.41 MB / 0.9134 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002363/2.161, allocations: 90.31 kB / 0.9135 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003626/2.161, allocations: 186.1 kB / 0.9137 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/2.163, allocations: 0.8363 MB / 0.9145 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007341/2.17, allocations: 1.99 MB / 0.9164 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009633/2.18, allocations: 8.492 MB / 0.9247 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008714/2.189, allocations: 476 kB / 0.9252 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/2.191, allocations: 0.5172 MB / 0.9257 GB, free: 79.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1059): * Single equations (assignments): 1053 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002303/2.193, allocations: 0.7898 MB / 0.9264 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/2.195, allocations: 0.5919 MB / 0.927 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007797/2.203, allocations: 4.448 MB / 0.9314 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/2.203, allocations: 34.86 kB / 0.9314 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/2.203, allocations: 10.81 kB / 0.9314 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/2.203, allocations: 11.88 kB / 0.9314 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/2.229, allocations: 11.61 MB / 0.9428 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/2.229, allocations: 7.312 kB / 0.9428 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/2.232, allocations: 439.8 kB / 0.9432 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/2.233, allocations: 0.5232 MB / 0.9437 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/2.233, allocations: 48.34 kB / 0.9437 GB, free: 77.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/2.24, allocations: 7.572 MB / 0.9511 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.24, allocations: 0 / 0.9511 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/2.252, allocations: 7.883 MB / 0.9588 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/2.255, allocations: 1.014 MB / 0.9598 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/2.257, allocations: 42.23 kB / 0.9599 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/2.259, allocations: 150 kB / 0.96 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/2.26, allocations: 156.3 kB / 0.9602 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/2.26, allocations: 73.42 kB / 0.9602 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008495/2.268, allocations: 4.376 MB / 0.9645 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/2.268, allocations: 0 / 0.9645 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0114/2.28, allocations: 1.56 MB / 0.966 GB, free: 66.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/2.293, allocations: 8.739 MB / 0.9746 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.307, allocations: 7.345 MB / 0.9817 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.307, allocations: 4 kB / 0.9817 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003329/2.31, allocations: 2.478 MB / 0.9842 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/2.314, allocations: 0.7778 MB / 0.9849 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/2.346, allocations: 14.7 MB / 0.9993 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008865/2.355, allocations: 5.21 MB / 1.004 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008529/2.364, allocations: 2.813 MB / 1.007 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006844/2.371, allocations: 3.368 MB / 1.01 GB, free: 47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/2.371, allocations: 0 / 1.01 GB, free: 47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/2.908, allocations: 125.5 MB / 1.133 GB, free: 76.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/2.908, allocations: 175.7 kB / 1.133 GB, free: 76.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/10.51, allocations: 0 / 1.133 GB, free: 76.27 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat