Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001302, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009685/0.0009685, allocations: 100.4 kB / 286.7 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 45.16 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.506e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09024, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/0.4989, allocations: 109.3 MB / 0.6111 GB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4992, allocations: 78.2 kB / 0.6112 GB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3749/0.8741, allocations: 142.2 MB / 0.7501 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8742, allocations: 0 / 0.7501 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004124/0.8746, allocations: 140 kB / 0.7502 GB, free: 2.934 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.3228/1.197, allocations: 6.956 MB / 0.757 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.197, allocations: 12.5 kB / 0.757 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03942/1.237, allocations: 9.506 MB / 0.7663 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/1.26, allocations: 7.606 MB / 0.7737 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/1.26, allocations: 228.2 kB / 0.7739 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/1.264, allocations: 431.1 kB / 0.7743 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01791/1.282, allocations: 9.328 MB / 0.7834 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03221/1.314, allocations: 14.7 MB / 0.7978 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000437/1.314, allocations: 104.1 kB / 0.7979 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.316, allocations: 54.17 kB / 0.798 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/1.318, allocations: 1.492 MB / 0.7994 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/1.382, allocations: 72.78 MB / 0.8705 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00509/1.387, allocations: 5.03 MB / 0.8754 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/1.39, allocations: 3.383 MB / 0.8787 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/1.39, allocations: 49.66 kB / 0.8787 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.391, allocations: 67.33 kB / 0.8788 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 4.899e-06/1.391, allocations: 0 / 0.8788 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.04835/1.439, allocations: 28.73 MB / 0.9069 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/1.439, allocations: 283.2 kB / 0.9071 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006734/1.446, allocations: 4.852 MB / 0.9119 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006346/1.446, allocations: 29.7 kB / 0.9119 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.449, allocations: 5.044 MB / 0.9168 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/1.451, allocations: 0.9988 MB / 0.9178 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005261/1.451, allocations: 0 / 0.9178 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004015/1.452, allocations: 0.6791 MB / 0.9185 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.455, allocations: 2.902 MB / 0.9213 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/1.461, allocations: 8.24 MB / 0.9293 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/1.468, allocations: 4.856 MB / 0.9341 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.468, allocations: 59.95 kB / 0.9341 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02336/1.492, allocations: 11.05 MB / 0.9449 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.492, allocations: 93.67 kB / 0.945 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.492, allocations: 192 kB / 0.9452 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/1.495, allocations: 1.356 MB / 0.9465 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007343/1.503, allocations: 2.022 MB / 0.9485 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.517, allocations: 10.65 MB / 0.9589 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008573/1.525, allocations: 310.8 kB / 0.9592 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/1.528, allocations: 0.5331 MB / 0.9597 GB, free: 6.094 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1069): * Single equations (assignments): 1063 * 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.003009/1.531, allocations: 0.5902 MB / 0.9603 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0094/1.54, allocations: 5.17 MB / 0.9654 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.541, allocations: 0.5052 MB / 0.9658 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3712/1.913, allocations: 5.098 MB / 0.9708 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.913, allocations: 29.05 kB / 0.9709 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/1.913, allocations: 10.66 kB / 0.9709 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/1.913, allocations: 12.58 kB / 0.9709 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.939, allocations: 11.66 MB / 0.9823 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.939, allocations: 4.719 kB / 0.9823 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.941, allocations: 432.2 kB / 0.9827 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.944, allocations: 1.032 MB / 0.9837 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/1.944, allocations: 9.797 kB / 0.9837 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009889/1.954, allocations: 9.676 MB / 0.9931 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.954, allocations: 2.781 kB / 0.9931 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.967, allocations: 8.698 MB / 1.002 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.969, allocations: 0.527 MB / 1.002 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/1.97, allocations: 5.75 kB / 1.002 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.972, allocations: 110.5 kB / 1.002 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/1.972, allocations: 162.9 kB / 1.002 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.972, allocations: 65.94 kB / 1.002 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005134/1.977, allocations: 3.273 MB / 1.006 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/1.977, allocations: 0 / 1.006 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007498/1.985, allocations: 1.38 MB / 1.007 GB, free: 117.1 MB / 0.5573 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 (206): * Single equations (assignments): 200 * 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.01808/2.003, allocations: 9.569 MB / 1.016 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01339/2.016, allocations: 7.391 MB / 1.024 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/2.017, allocations: 3.875 kB / 1.024 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/2.021, allocations: 2.677 MB / 1.026 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/2.025, allocations: 0.6439 MB / 1.027 GB, free: 114 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.066, allocations: 14.51 MB / 1.041 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007506/2.073, allocations: 5.166 MB / 1.046 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007731/2.081, allocations: 2.792 MB / 1.049 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005115/2.086, allocations: 3.274 MB / 1.052 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/2.086, allocations: 2 kB / 1.052 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/2.264, allocations: 115.1 MB / 1.164 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/2.264, allocations: 143.2 kB / 1.164 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.282/7.546, allocations: 0 / 1.164 GB, free: 13.84 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat