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.001412/0.001412, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007664/0.0007666, allocations: 91.05 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 45.15 MB / 383.7 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.471e-05, allocations: 0 / 453.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5176, allocations: 112.5 MB / 0.6143 GB, free: 6.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.5179, allocations: 73.28 kB / 0.6144 GB, free: 6.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8009/1.319, allocations: 222.9 MB / 0.8321 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/1.319, allocations: 0 / 0.8321 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001065/1.32, allocations: 232 kB / 0.8323 GB, free: 98.04 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.0374/1.357, allocations: 11.72 MB / 0.8437 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.357, allocations: 11 kB / 0.8437 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04669/1.404, allocations: 12.61 MB / 0.8561 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/1.432, allocations: 11.31 MB / 0.8671 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/1.432, allocations: 387.1 kB / 0.8675 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004611/1.437, allocations: 0.6872 MB / 0.8682 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02826/1.465, allocations: 15.89 MB / 0.8837 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04884/1.514, allocations: 23.85 MB / 0.907 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007192/1.515, allocations: 150.6 kB / 0.9071 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/1.519, allocations: 64 kB / 0.9072 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003691/1.523, allocations: 2.573 MB / 0.9097 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4929/2.016, allocations: 114.5 MB / 1.022 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/2.028, allocations: 9.888 MB / 1.031 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007311/2.035, allocations: 6.859 MB / 1.038 GB, free: 40.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/2.036, allocations: 1.073 MB / 1.039 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/2.037, allocations: 91.02 kB / 1.039 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=448): time 8.235e-06/2.037, allocations: 0 / 1.039 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=535): time 0.1162/2.153, allocations: 58.12 MB / 1.096 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/2.153, allocations: 372.5 kB / 1.096 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/2.169, allocations: 7.485 MB / 1.103 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/2.171, allocations: 25.7 kB / 1.103 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005082/2.176, allocations: 7.974 MB / 1.111 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002559/2.179, allocations: 1.933 MB / 1.113 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/2.18, allocations: 5.969 kB / 1.113 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005795/2.18, allocations: 0.9086 MB / 1.114 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00739/2.188, allocations: 5.565 MB / 1.119 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01689/2.205, allocations: 13.55 MB / 1.133 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/2.222, allocations: 8.693 MB / 1.141 GB, free: 14.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005141/2.222, allocations: 76 kB / 1.141 GB, free: 14.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=1843) (initialization): time 0.04586/2.268, allocations: 20.33 MB / 1.161 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/2.268, allocations: 124 kB / 1.161 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005761/2.269, allocations: 280.9 kB / 1.161 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/2.278, allocations: 3.277 MB / 1.165 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/2.293, allocations: 3.421 MB / 1.168 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03057/2.323, allocations: 21.31 MB / 1.189 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01518/2.339, allocations: 0.5606 MB / 1.189 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004817/2.343, allocations: 0.8201 MB / 1.19 GB, free: 3.785 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1270 * 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 (1725): * Single equations (assignments): 1718 * 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%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006227/2.35, allocations: 0.8392 MB / 1.191 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3881/2.738, allocations: 11.83 MB / 1.203 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003257/2.741, allocations: 0.8305 MB / 1.203 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02469/2.766, allocations: 11.94 MB / 1.215 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-05/2.766, allocations: 59.64 kB / 1.215 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/2.766, allocations: 17.34 kB / 1.215 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001125/2.766, allocations: 25.5 kB / 1.215 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06404/2.83, allocations: 25.29 MB / 1.24 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/2.83, allocations: 7.594 kB / 1.24 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006086/2.836, allocations: 1.022 MB / 1.241 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007589/2.844, allocations: 2.781 MB / 1.244 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001652/2.846, allocations: 18.12 kB / 1.244 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/2.869, allocations: 19.6 MB / 1.263 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/2.869, allocations: 3.156 kB / 1.263 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03658/2.906, allocations: 19.58 MB / 1.282 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00391/2.91, allocations: 0.8176 MB / 1.283 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004481/2.914, allocations: 10.7 kB / 1.283 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00778/2.922, allocations: 293 kB / 1.283 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002654/2.925, allocations: 330.7 kB / 1.283 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00162/2.927, allocations: 136.2 kB / 1.283 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0138/2.94, allocations: 5.058 MB / 1.288 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.8e-07/2.94, allocations: 0 / 1.288 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0197/2.96, allocations: 2.415 MB / 1.291 GB, free: 127.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 438 * 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%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0369/2.997, allocations: 20.72 MB / 1.311 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02683/3.024, allocations: 14.33 MB / 1.325 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/3.024, allocations: 2.062 kB / 1.325 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/3.035, allocations: 5.924 MB / 1.331 GB, free: 97.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009321/3.044, allocations: 0.9851 MB / 1.332 GB, free: 96.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08147/3.126, allocations: 25.87 MB / 1.357 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02028/3.146, allocations: 8.181 MB / 1.365 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01696/3.163, allocations: 4.552 MB / 1.369 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01295/3.176, allocations: 5.72 MB / 1.375 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.893e-06/3.176, allocations: 0 / 1.375 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7139/3.89, allocations: 198 MB / 1.568 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/3.89, allocations: 129.1 kB / 1.568 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/12.7, allocations: 0 / 1.568 GB, free: 57.75 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