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.001073/0.001073, 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.361/1.361, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000952/0.0009521, allocations: 88.36 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.159e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 63.24 MB / 0.5115 GB, free: 6.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5266, allocations: 113.2 MB / 0.622 GB, free: 12.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.5268, allocations: 78.09 kB / 0.6221 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8364/1.363, allocations: 228.3 MB / 0.845 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.998e-06/1.363, allocations: 0 / 0.845 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001031/1.364, allocations: 234.5 kB / 0.8452 GB, free: 97.43 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03882/1.403, allocations: 11.71 MB / 0.8567 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.607e-05/1.403, allocations: 16.47 kB / 0.8567 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01136/1.415, allocations: 1.991 MB / 0.8586 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04767/1.462, allocations: 12.61 MB / 0.8709 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/1.49, allocations: 11.34 MB / 0.882 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009666/1.491, allocations: 0.8668 MB / 0.8829 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006111/1.497, allocations: 1.175 MB / 0.884 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06827/1.566, allocations: 27.96 MB / 0.9113 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009322/1.567, allocations: 150.6 kB / 0.9114 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005611/1.572, allocations: 0.5388 MB / 0.912 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003787/1.576, allocations: 2.573 MB / 0.9145 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04966/1.626, allocations: 22.57 MB / 0.9365 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5236/2.15, allocations: 120.1 MB / 1.054 GB, free: 41.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03436/2.184, allocations: 13.84 MB / 1.067 GB, free: 41.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008216/2.192, allocations: 7.267 MB / 1.074 GB, free: 40.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03076/2.223, allocations: 17.76 MB / 1.092 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/2.223, allocations: 95.2 kB / 1.092 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=469): time 1.007e-05/2.223, allocations: 3.906 kB / 1.092 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=553): time 0.1582/2.381, allocations: 56.49 MB / 1.147 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003036/2.382, allocations: 373.8 kB / 1.147 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04192/2.424, allocations: 11.46 MB / 1.159 GB, free: 13.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/2.425, allocations: 109.7 kB / 1.159 GB, free: 13.05 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008917/2.434, allocations: 7.852 MB / 1.166 GB, free: 5.992 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/2.438, allocations: 2.052 MB / 1.168 GB, free: 4.176 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/2.44, allocations: 282.1 kB / 1.169 GB, free: 3.902 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001656/2.442, allocations: 0.8982 MB / 1.169 GB, free: 3.168 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/2.454, allocations: 5.845 MB / 1.175 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3783/2.832, allocations: 13.55 MB / 1.188 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/2.849, allocations: 8.744 MB / 1.197 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004793/2.849, allocations: 79.48 kB / 1.197 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1810) (initialization): time 0.04981/2.899, allocations: 22.1 MB / 1.219 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004596/2.9, allocations: 124.5 kB / 1.219 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000471/2.9, allocations: 275.1 kB / 1.219 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007911/2.908, allocations: 3.252 MB / 1.222 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/2.921, allocations: 3.359 MB / 1.225 GB, free: 130 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/2.945, allocations: 22.4 MB / 1.247 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/2.958, allocations: 0.8186 MB / 1.248 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00322/2.961, allocations: 0.8076 MB / 1.249 GB, free: 122.4 MB / 0.5886 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 () * 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.004617/2.965, allocations: 1.194 MB / 1.25 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002848/2.968, allocations: 0.9979 MB / 1.251 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02743/2.996, allocations: 12.67 MB / 1.263 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-05/2.996, allocations: 58.06 kB / 1.263 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/2.996, allocations: 14.53 kB / 1.263 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001484/2.996, allocations: 31.52 kB / 1.263 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06677/3.063, allocations: 28.85 MB / 1.292 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.523e-05/3.063, allocations: 11.25 kB / 1.292 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006006/3.069, allocations: 1.103 MB / 1.293 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007253/3.076, allocations: 2.81 MB / 1.296 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001606/3.078, allocations: 107.7 kB / 1.296 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02467/3.103, allocations: 21.01 MB / 1.316 GB, free: 87.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/3.103, allocations: 11.94 kB / 1.316 GB, free: 87.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/3.137, allocations: 22.73 MB / 1.338 GB, free: 66.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/3.14, allocations: 1.092 MB / 1.339 GB, free: 65.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003693/3.144, allocations: 100.1 kB / 1.339 GB, free: 65.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007061/3.151, allocations: 379.8 kB / 1.34 GB, free: 65 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001963/3.153, allocations: 363 kB / 1.34 GB, free: 64.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001179/3.154, allocations: 142.7 kB / 1.34 GB, free: 64.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0159/3.17, allocations: 7.28 MB / 1.347 GB, free: 58.26 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.453e-06/3.17, allocations: 0 / 1.347 GB, free: 58.26 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01705/3.187, allocations: 2.8 MB / 1.35 GB, free: 55.47 MB / 0.5886 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 () * 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.03512/3.222, allocations: 23.94 MB / 1.374 GB, free: 33.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02515/3.248, allocations: 14.57 MB / 1.388 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/3.248, allocations: 0 / 1.388 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01104/3.259, allocations: 6.244 MB / 1.394 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009026/3.268, allocations: 1.326 MB / 1.395 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4046/3.672, allocations: 27 MB / 1.422 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02175/3.694, allocations: 8.166 MB / 1.43 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01598/3.71, allocations: 4.653 MB / 1.434 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01286/3.723, allocations: 5.806 MB / 1.44 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.803e-06/3.723, allocations: 0 / 1.44 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.673/4.396, allocations: 221.7 MB / 1.656 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/4.396, allocations: 162.8 kB / 1.656 GB, free: 115 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/14.85, allocations: 3.5 kB / 1.656 GB, free: 115 MB / 0.6042 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