Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.668/1.668, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.00105, allocations: 93.05 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3886/0.3886, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 4.219 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3503, allocations: 63.25 MB / 0.5193 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4959, allocations: 107.8 MB / 0.6246 GB, free: 11.58 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.4963, allocations: 83.92 kB / 0.6247 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5868/1.083, allocations: 91.85 MB / 0.7144 GB, free: 102.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.556e-06/1.083, allocations: 1.594 kB / 0.7144 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003277/1.083, allocations: 76.84 kB / 0.7144 GB, free: 102.1 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01719/1.101, allocations: 4.07 MB / 0.7184 GB, free: 100.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.101, allocations: 9.344 kB / 0.7184 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004511/1.105, allocations: 0.8238 MB / 0.7192 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/1.123, allocations: 3.532 MB / 0.7227 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.135, allocations: 3.76 MB / 0.7263 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/1.136, allocations: 326.1 kB / 0.7266 GB, free: 98.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.139, allocations: 423.1 kB / 0.727 GB, free: 98.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/1.167, allocations: 10.74 MB / 0.7375 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/1.167, allocations: 33.91 kB / 0.7376 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/1.17, allocations: 188 kB / 0.7377 GB, free: 93.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.172, allocations: 1.225 MB / 0.7389 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02292/1.195, allocations: 10.39 MB / 0.7491 GB, free: 90.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06204/1.257, allocations: 36.99 MB / 0.7852 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008625/1.266, allocations: 4.577 MB / 0.7897 GB, free: 50.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.267, allocations: 1.314 MB / 0.791 GB, free: 49.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.267, allocations: 56.56 kB / 0.791 GB, free: 49.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.522e-06/1.267, allocations: 0 / 0.791 GB, free: 49.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03951/1.307, allocations: 17.86 MB / 0.8085 GB, free: 31.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.307, allocations: 77.34 kB / 0.8085 GB, free: 30.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/1.311, allocations: 2.441 MB / 0.8109 GB, free: 28.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005903/1.311, allocations: 57.7 kB / 0.811 GB, free: 28.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.313, allocations: 2.773 MB / 0.8137 GB, free: 25.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.314, allocations: 0.9115 MB / 0.8146 GB, free: 24.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.314, allocations: 104 kB / 0.8147 GB, free: 24.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/1.314, allocations: 0.5413 MB / 0.8152 GB, free: 24.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/1.317, allocations: 2.279 MB / 0.8174 GB, free: 21.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/1.321, allocations: 5.167 MB / 0.8225 GB, free: 15.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.325, allocations: 3.435 MB / 0.8258 GB, free: 11.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.482e-05/1.325, allocations: 32 kB / 0.8259 GB, free: 11.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01358/1.339, allocations: 8.211 MB / 0.8339 GB, free: 3.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.339, allocations: 48 kB / 0.8339 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.339, allocations: 103.9 kB / 0.834 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/1.342, allocations: 0.9412 MB / 0.8349 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/1.347, allocations: 1.217 MB / 0.8361 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007289/1.354, allocations: 4.861 MB / 0.8409 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/1.359, allocations: 291.3 kB / 0.8411 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.361, allocations: 312 kB / 0.8414 GB, free: 11.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007201/1.368, allocations: 2.154 MB / 0.8435 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.369, allocations: 276.3 kB / 0.8438 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.38, allocations: 5.094 MB / 0.8488 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.441e-05/1.38, allocations: 47.98 kB / 0.8488 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.054e-05/1.38, allocations: 11.95 kB / 0.8488 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/1.381, allocations: 7.969 kB / 0.8489 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.409, allocations: 11.91 MB / 0.8605 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/1.409, allocations: 8 kB / 0.8605 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.411, allocations: 395.4 kB / 0.8609 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/1.413, allocations: 0.7775 MB / 0.8616 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.414, allocations: 52 kB / 0.8617 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/1.42, allocations: 4.138 MB / 0.8657 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/1.42, allocations: 23.88 kB / 0.8657 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.435, allocations: 8.429 MB / 0.874 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.437, allocations: 333.5 kB / 0.8743 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.438, allocations: 51.19 kB / 0.8743 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.44, allocations: 139.8 kB / 0.8745 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/1.441, allocations: 156.9 kB / 0.8746 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003695/1.441, allocations: 68.11 kB / 0.8747 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004135/1.445, allocations: 1.673 MB / 0.8763 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.445, allocations: 0 / 0.8763 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006818/1.452, allocations: 1.003 MB / 0.8773 GB, free: 6.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3703/1.822, allocations: 11.64 MB / 0.8887 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009748/1.832, allocations: 5.555 MB / 0.8941 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/1.832, allocations: 0 / 0.8941 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003375/1.835, allocations: 2.151 MB / 0.8962 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.838, allocations: 341.1 kB / 0.8965 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07761/1.916, allocations: 100.4 MB / 0.9946 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00414/1.92, allocations: 3.468 MB / 0.998 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004728/1.925, allocations: 1.986 MB / 0.9999 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/1.927, allocations: 1.827 MB / 1.002 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.893e-06/1.927, allocations: 0 / 1.002 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/2.032, allocations: 68.76 MB / 1.069 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/2.033, allocations: 194.8 kB / 1.069 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/6.164, allocations: 3.375 kB / 1.069 GB, free: 2.324 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat