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.0009082/0.0009083, allocations: 180.9 kB / 8.006 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.454/1.454, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001007/0.001007, allocations: 78.64 kB / 261.7 MB, free: 1.695 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.2077/0.2077, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.096e-05, allocations: 4 kB / 418.4 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 58.86 MB / 477.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5384, allocations: 108 MB / 0.5715 GB, free: 3.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5388, allocations: 77.88 kB / 0.5716 GB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.656/1.195, allocations: 149.4 MB / 0.7175 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/1.195, allocations: 5.688 kB / 0.7175 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005271/1.195, allocations: 155.7 kB / 0.7176 GB, free: 91.52 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03121/1.227, allocations: 7.387 MB / 0.7248 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/1.227, allocations: 8.688 kB / 0.7248 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04009/1.267, allocations: 9.633 MB / 0.7342 GB, free: 88.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02423/1.291, allocations: 9.12 MB / 0.7431 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/1.292, allocations: 252 kB / 0.7434 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003465/1.295, allocations: 466.6 kB / 0.7438 GB, free: 87.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01911/1.314, allocations: 10.44 MB / 0.754 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/1.345, allocations: 16.12 MB / 0.7698 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/1.345, allocations: 111.9 kB / 0.7699 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.346, allocations: 48.72 kB / 0.7699 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001881/1.348, allocations: 1.694 MB / 0.7716 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07448/1.423, allocations: 77.72 MB / 0.8475 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/1.429, allocations: 5.856 MB / 0.8532 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/1.433, allocations: 3.976 MB / 0.8571 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/1.433, allocations: 65.48 kB / 0.8571 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.433, allocations: 72.84 kB / 0.8572 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 5.47e-06/1.433, allocations: 0 / 0.8572 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.05105/1.484, allocations: 30.1 MB / 0.8866 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.484, allocations: 299.4 kB / 0.8869 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00875/1.493, allocations: 5.124 MB / 0.8919 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008233/1.494, allocations: 29.7 kB / 0.8919 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004003/1.498, allocations: 5.453 MB / 0.8973 GB, free: 120 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3096/1.807, allocations: 1.243 MB / 0.8985 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.809, allocations: 0 / 0.8985 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007284/1.809, allocations: 0.7235 MB / 0.8992 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006012/1.815, allocations: 3.488 MB / 0.9026 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/1.826, allocations: 9.282 MB / 0.9116 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.837, allocations: 5.604 MB / 0.9171 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002984/1.837, allocations: 65.69 kB / 0.9172 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03547/1.873, allocations: 12.64 MB / 0.9295 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003154/1.873, allocations: 92.16 kB / 0.9296 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000421/1.874, allocations: 209.2 kB / 0.9298 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/1.878, allocations: 1.384 MB / 0.9312 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/1.891, allocations: 2.321 MB / 0.9334 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.905, allocations: 10.67 MB / 0.9438 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009322/1.914, allocations: 362.3 kB / 0.9442 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.916, allocations: 0.5894 MB / 0.9448 GB, free: 89.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * 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 (1217): * Single equations (assignments): 1211 * 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,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001955/1.918, allocations: 0.6276 MB / 0.9454 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009198/1.927, allocations: 6.258 MB / 0.9515 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.929, allocations: 0.5548 MB / 0.952 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.939, allocations: 6.258 MB / 0.9581 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/1.939, allocations: 37.47 kB / 0.9582 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.939, allocations: 7.406 kB / 0.9582 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/1.939, allocations: 19.56 kB / 0.9582 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.967, allocations: 13.92 MB / 0.9718 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.967, allocations: 3.125 kB / 0.9718 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/1.97, allocations: 0.5862 MB / 0.9724 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/1.972, allocations: 1.03 MB / 0.9734 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/1.973, allocations: 18.23 kB / 0.9734 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.983, allocations: 9.732 MB / 0.9829 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.983, allocations: 7.312 kB / 0.9829 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.998, allocations: 10.75 MB / 0.9934 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003273/2.001, allocations: 1.082 MB / 0.9945 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/2.002, allocations: 2.484 kB / 0.9945 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/2.005, allocations: 152 kB / 0.9946 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/2.005, allocations: 200.1 kB / 0.9948 GB, free: 72.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/2.006, allocations: 86.56 kB / 0.9949 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007144/2.013, allocations: 3.462 MB / 0.9983 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/2.013, allocations: 0 / 0.9983 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/2.024, allocations: 1.541 MB / 0.9998 GB, free: 71.23 MB / 0.5105 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.01357/2.037, allocations: 11.63 MB / 1.011 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01365/2.051, allocations: 8.77 MB / 1.02 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/2.051, allocations: 0 / 1.02 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/2.056, allocations: 3.382 MB / 1.023 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/2.06, allocations: 0.6217 MB / 1.024 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03869/2.099, allocations: 16.34 MB / 1.04 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007803/2.107, allocations: 5.623 MB / 1.045 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008799/2.116, allocations: 3.157 MB / 1.048 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006484/2.122, allocations: 3.593 MB / 1.052 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/2.122, allocations: 0 / 1.052 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5748/2.697, allocations: 126.3 MB / 1.175 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/2.697, allocations: 130.9 kB / 1.175 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.106/8.804, allocations: 0 / 1.175 GB, free: 83.26 MB / 0.5261 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