Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001017, allocations: 84.73 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1976/0.1976, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.515e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4757, allocations: 104.6 MB / 0.6137 GB, free: 5.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.476, allocations: 73.84 kB / 0.6137 GB, free: 5.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2027/0.6787, allocations: 86.82 MB / 0.6985 GB, free: 6.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6788, allocations: 0 / 0.6985 GB, free: 6.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.6789, allocations: 64 kB / 0.6986 GB, free: 6.363 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006228/0.6851, allocations: 3.619 MB / 0.7021 GB, free: 2.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6852, allocations: 15.97 kB / 0.7021 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009805/0.6862, allocations: 0.7628 MB / 0.7029 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.6991, allocations: 3.485 MB / 0.7063 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008797/0.7079, allocations: 3.476 MB / 0.7097 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.7081, allocations: 287.5 kB / 0.7099 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009175/0.7091, allocations: 375.8 kB / 0.7103 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.7238, allocations: 10.05 MB / 0.7201 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.573e-05/0.7239, allocations: 23.81 kB / 0.7201 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.7243, allocations: 171.9 kB / 0.7203 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.7257, allocations: 1.176 MB / 0.7214 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.7407, allocations: 9.788 MB / 0.731 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2883/1.029, allocations: 34.7 MB / 0.7649 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008261/1.037, allocations: 4.937 MB / 0.7697 GB, free: 120 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/1.04, allocations: 2.273 MB / 0.7719 GB, free: 120 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/1.042, allocations: 1.882 MB / 0.7738 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.042, allocations: 50.16 kB / 0.7738 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 4.278e-06/1.042, allocations: 3.438 kB / 0.7738 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.02242/1.064, allocations: 11.18 MB / 0.7847 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.064, allocations: 72.88 kB / 0.7848 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/1.067, allocations: 2.324 MB / 0.7871 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/1.067, allocations: 55.09 kB / 0.7871 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.068, allocations: 2.636 MB / 0.7897 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/1.069, allocations: 0.8572 MB / 0.7905 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.069, allocations: 101 kB / 0.7906 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.069, allocations: 0.5336 MB / 0.7911 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/1.071, allocations: 2.131 MB / 0.7932 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003196/1.075, allocations: 4.986 MB / 0.7981 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/1.078, allocations: 3.296 MB / 0.8013 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-05/1.078, allocations: 29.75 kB / 0.8013 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.009774/1.088, allocations: 7.744 MB / 0.8089 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/1.088, allocations: 46.97 kB / 0.809 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.49e-05/1.088, allocations: 98.66 kB / 0.809 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/1.09, allocations: 0.7964 MB / 0.8098 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/1.093, allocations: 1.184 MB / 0.811 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/1.097, allocations: 4.123 MB / 0.815 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.1, allocations: 290.6 kB / 0.8153 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000378/1.101, allocations: 303.4 kB / 0.8156 GB, free: 106.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006003/1.101, allocations: 493.9 kB / 0.816 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.102, allocations: 262.5 kB / 0.8163 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/1.108, allocations: 4.67 MB / 0.8209 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/1.108, allocations: 44.92 kB / 0.8209 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.108, allocations: 7.156 kB / 0.8209 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.108, allocations: 13.52 kB / 0.8209 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.121, allocations: 10.5 MB / 0.8312 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.122, allocations: 3.75 kB / 0.8312 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.123, allocations: 363 kB / 0.8315 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.125, allocations: 0.6479 MB / 0.8322 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.125, allocations: 49.92 kB / 0.8322 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/1.128, allocations: 3.592 MB / 0.8357 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.128, allocations: 6.188 kB / 0.8357 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007976/1.136, allocations: 7.608 MB / 0.8431 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/1.137, allocations: 312.4 kB / 0.8434 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/1.137, allocations: 41.06 kB / 0.8435 GB, free: 94.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.139, allocations: 141 kB / 0.8436 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.139, allocations: 137.1 kB / 0.8438 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.139, allocations: 63.89 kB / 0.8438 GB, free: 94.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002015/1.141, allocations: 1.575 MB / 0.8454 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.141, allocations: 3.969 kB / 0.8454 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003466/1.144, allocations: 0.9436 MB / 0.8463 GB, free: 91.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008305/1.153, allocations: 10.05 MB / 0.8561 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.159, allocations: 5.242 MB / 0.8612 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.159, allocations: 5 kB / 0.8612 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/1.161, allocations: 1.998 MB / 0.8632 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/1.163, allocations: 310.3 kB / 0.8635 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.177, allocations: 9.178 MB / 0.8724 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1.18, allocations: 3.255 MB / 0.8756 GB, free: 64.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003569/1.183, allocations: 1.951 MB / 0.8775 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.185, allocations: 1.709 MB / 0.8792 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/1.185, allocations: 0 / 0.8792 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/1.261, allocations: 64.57 MB / 0.9422 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.262, allocations: 162.8 kB / 0.9424 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/4.32, allocations: 0 / 0.9424 GB, free: 1.57 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat