Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 101.4 kB / 297.2 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3458/0.3458, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003041, allocations: 8 kB / 468.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3418, allocations: 63.25 MB / 0.5193 GB, free: 43.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4795, allocations: 113.3 MB / 0.6299 GB, free: 8.344 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4798, allocations: 79.92 kB / 0.6299 GB, free: 8.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7939/1.274, allocations: 228.1 MB / 0.8527 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/1.274, allocations: 0 / 0.8527 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001395/1.275, allocations: 240 kB / 0.8529 GB, free: 20.67 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04666/1.322, allocations: 12.69 MB / 0.8653 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.322, allocations: 8.031 kB / 0.8653 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01083/1.333, allocations: 1.993 MB / 0.8672 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05182/1.385, allocations: 12.6 MB / 0.8795 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03531/1.42, allocations: 11.38 MB / 0.8906 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.421, allocations: 0.8706 MB / 0.8915 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006461/1.428, allocations: 1.175 MB / 0.8926 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7763/2.204, allocations: 28.16 MB / 0.9201 GB, free: 55.52 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001409/2.206, allocations: 145.6 kB / 0.9203 GB, free: 55.52 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008056/2.214, allocations: 0.5484 MB / 0.9208 GB, free: 55.52 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004862/2.219, allocations: 2.573 MB / 0.9233 GB, free: 55.49 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06011/2.279, allocations: 22.88 MB / 0.9457 GB, free: 55.37 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/2.462, allocations: 120.1 MB / 1.063 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0374/2.499, allocations: 13.9 MB / 1.077 GB, free: 7.68 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04132/2.541, allocations: 17.81 MB / 1.094 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/2.541, allocations: 86.5 kB / 1.094 GB, free: 13.11 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 7.785e-06/2.541, allocations: 0.6562 kB / 1.094 GB, free: 13.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.5785/3.119, allocations: 64.82 MB / 1.157 GB, free: 113.3 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/3.12, allocations: 370.4 kB / 1.158 GB, free: 112.9 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02358/3.143, allocations: 10.21 MB / 1.168 GB, free: 112.2 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001623/3.145, allocations: 110.6 kB / 1.168 GB, free: 112.2 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.008172/3.153, allocations: 7.855 MB / 1.175 GB, free: 108.5 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.003988/3.157, allocations: 2.053 MB / 1.177 GB, free: 107.3 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/3.16, allocations: 277.2 kB / 1.178 GB, free: 107.3 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001192/3.161, allocations: 0.9047 MB / 1.179 GB, free: 107 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01216/3.173, allocations: 5.865 MB / 1.184 GB, free: 107 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01892/3.192, allocations: 13.66 MB / 1.198 GB, free: 97.02 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/3.209, allocations: 8.764 MB / 1.206 GB, free: 96.95 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005886/3.209, allocations: 80.31 kB / 1.206 GB, free: 96.95 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1810) (initialization): time 0.04872/3.258, allocations: 22.3 MB / 1.228 GB, free: 90.19 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004198/3.259, allocations: 125 kB / 1.228 GB, free: 90.19 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007124/3.259, allocations: 272.5 kB / 1.228 GB, free: 90.19 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009425/3.269, allocations: 3.254 MB / 1.232 GB, free: 89.61 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/3.283, allocations: 3.356 MB / 1.235 GB, free: 89.24 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/3.313, allocations: 23.07 MB / 1.257 GB, free: 76.95 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/3.328, allocations: 0.8212 MB / 1.258 GB, free: 76.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003849/3.332, allocations: 0.8101 MB / 1.259 GB, free: 76.59 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1246 * Number of states: 0 () * Number of discrete variables: 132 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1692): * Single equations (assignments): 1685 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01593/3.348, allocations: 5.282 MB / 1.264 GB, free: 74.2 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003728/3.352, allocations: 1 MB / 1.265 GB, free: 73.65 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02761/3.379, allocations: 12.76 MB / 1.278 GB, free: 65.13 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/3.38, allocations: 57.64 kB / 1.278 GB, free: 65.08 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-05/3.38, allocations: 16 kB / 1.278 GB, free: 65.06 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001729/3.38, allocations: 28.89 kB / 1.278 GB, free: 65.06 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07052/3.45, allocations: 28.95 MB / 1.306 GB, free: 41.83 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.98e-05/3.451, allocations: 12 kB / 1.306 GB, free: 41.82 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006157/3.457, allocations: 1.099 MB / 1.307 GB, free: 40.98 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007452/3.464, allocations: 2.815 MB / 1.31 GB, free: 39.04 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001652/3.466, allocations: 107.8 kB / 1.31 GB, free: 38.93 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/3.492, allocations: 21.65 MB / 1.331 GB, free: 19.69 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/3.492, allocations: 15.94 kB / 1.331 GB, free: 19.67 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5027/3.995, allocations: 23.15 MB / 1.354 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0056/4, allocations: 1.092 MB / 1.355 GB, free: 103.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005475/4.006, allocations: 105.2 kB / 1.355 GB, free: 103.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008726/4.015, allocations: 375.9 kB / 1.355 GB, free: 103.8 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002424/4.017, allocations: 356.4 kB / 1.356 GB, free: 103.8 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/4.018, allocations: 146.6 kB / 1.356 GB, free: 103.8 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.02005/4.038, allocations: 7.387 MB / 1.363 GB, free: 103.5 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8.12e-07/4.038, allocations: 0 / 1.363 GB, free: 103.5 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.02136/4.06, allocations: 2.798 MB / 1.366 GB, free: 103.5 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (463): * Single equations (assignments): 456 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04297/4.103, allocations: 24.09 MB / 1.389 GB, free: 98.09 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.02732/4.13, allocations: 14.75 MB / 1.404 GB, free: 97.5 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/4.13, allocations: 3.844 kB / 1.404 GB, free: 97.5 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/4.141, allocations: 6.319 MB / 1.41 GB, free: 96.97 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/4.151, allocations: 1.321 MB / 1.411 GB, free: 96.93 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7088/4.86, allocations: 320.1 MB / 1.724 GB, free: 57.84 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/4.88, allocations: 8.164 MB / 1.732 GB, free: 56.84 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.01622/4.897, allocations: 4.664 MB / 1.736 GB, free: 56.75 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01248/4.909, allocations: 5.805 MB / 1.742 GB, free: 56.75 MB / 0.6512 GB Notification: Performance of SimCode: time 2.414e-06/4.909, allocations: 0 / 1.742 GB, free: 56.75 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7429/5.652, allocations: 222.6 MB / 1.959 GB, free: 101.1 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/5.652, allocations: 196.5 kB / 1.959 GB, free: 100.9 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/18.41, allocations: 0 / 1.959 GB, free: 100.9 MB / 0.6512 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat