Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.00119, 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.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009291/0.0009292, allocations: 98.34 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.948e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5434, allocations: 107.1 MB / 0.609 GB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.5436, allocations: 78.89 kB / 0.6091 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7237/1.267, allocations: 158 MB / 0.7634 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/1.267, allocations: 0 / 0.7634 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001274/1.269, allocations: 158 kB / 0.7635 GB, free: 101.4 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.03321/1.302, allocations: 7.701 MB / 0.7711 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.302, allocations: 8.25 kB / 0.7711 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04745/1.349, allocations: 11.93 MB / 0.7827 GB, free: 98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/1.374, allocations: 9.061 MB / 0.7916 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/1.374, allocations: 249.6 kB / 0.7918 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004046/1.379, allocations: 467 kB / 0.7922 GB, free: 97.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02101/1.4, allocations: 10.11 MB / 0.8021 GB, free: 96.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03517/1.435, allocations: 15.42 MB / 0.8172 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006342/1.435, allocations: 100.5 kB / 0.8173 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/1.438, allocations: 47.94 kB / 0.8173 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/1.441, allocations: 1.57 MB / 0.8188 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07947/1.52, allocations: 72.64 MB / 0.8898 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/1.526, allocations: 5.175 MB / 0.8948 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/1.53, allocations: 3.473 MB / 0.8982 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/1.53, allocations: 0.6466 MB / 0.8989 GB, free: 36.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/1.53, allocations: 66.59 kB / 0.8989 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 5.471e-06/1.53, allocations: 1.406 kB / 0.8989 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.05149/1.582, allocations: 28.89 MB / 0.9271 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/1.582, allocations: 287.1 kB / 0.9274 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007267/1.589, allocations: 5.128 MB / 0.9324 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005982/1.59, allocations: 25.7 kB / 0.9324 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002938/1.593, allocations: 5.39 MB / 0.9377 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.594, allocations: 0.9936 MB / 0.9387 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/1.595, allocations: 0 / 0.9387 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005428/1.595, allocations: 0.675 MB / 0.9393 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004012/1.599, allocations: 2.72 MB / 0.942 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/1.607, allocations: 8.047 MB / 0.9499 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3543/1.962, allocations: 4.632 MB / 0.9544 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/1.962, allocations: 53.75 kB / 0.9544 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1141) (initialization): time 0.02421/1.986, allocations: 10.36 MB / 0.9645 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.986, allocations: 85.69 kB / 0.9646 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003845/1.987, allocations: 191.9 kB / 0.9648 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/1.989, allocations: 0.9816 MB / 0.9658 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007326/1.997, allocations: 1.981 MB / 0.9677 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/2.007, allocations: 10.58 MB / 0.978 GB, free: 98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007457/2.015, allocations: 294.1 kB / 0.9783 GB, free: 98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/2.016, allocations: 0.5227 MB / 0.9788 GB, free: 98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1065): * Single equations (assignments): 1058 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002492/2.019, allocations: 0.5863 MB / 0.9794 GB, free: 97.71 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006998/2.026, allocations: 4.504 MB / 0.9838 GB, free: 97.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/2.027, allocations: 0.5482 MB / 0.9843 GB, free: 97.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006889/2.034, allocations: 4.328 MB / 0.9886 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/2.034, allocations: 28.72 kB / 0.9886 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/2.034, allocations: 10.25 kB / 0.9886 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/2.034, allocations: 11.11 kB / 0.9886 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/2.054, allocations: 10.98 MB / 0.9993 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/2.054, allocations: 3.938 kB / 0.9993 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/2.056, allocations: 389.7 kB / 0.9997 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/2.057, allocations: 0.6473 MB / 1 GB, free: 96.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/2.058, allocations: 14.31 kB / 1 GB, free: 96.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007938/2.066, allocations: 9.461 MB / 1.01 GB, free: 91.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.066, allocations: 3.812 kB / 1.01 GB, free: 91.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009447/2.075, allocations: 7.629 MB / 1.017 GB, free: 90.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/2.077, allocations: 0.5582 MB / 1.018 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007206/2.078, allocations: 7.359 kB / 1.018 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/2.08, allocations: 105.9 kB / 1.018 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/2.08, allocations: 160.2 kB / 1.018 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/2.08, allocations: 60.19 kB / 1.018 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005448/2.086, allocations: 3.488 MB / 1.021 GB, free: 89.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/2.086, allocations: 7 kB / 1.021 GB, free: 89.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008434/2.094, allocations: 1.421 MB / 1.023 GB, free: 89.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * 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 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009962/2.104, allocations: 8.471 MB / 1.031 GB, free: 85.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01063/2.115, allocations: 7.013 MB / 1.038 GB, free: 82.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.115, allocations: 2.078 kB / 1.038 GB, free: 82.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/2.118, allocations: 2.483 MB / 1.04 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/2.124, allocations: 0.7639 MB / 1.041 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/2.161, allocations: 15.16 MB / 1.056 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007914/2.169, allocations: 5.56 MB / 1.061 GB, free: 71.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007082/2.176, allocations: 2.724 MB / 1.064 GB, free: 69.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00558/2.181, allocations: 3.594 MB / 1.067 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.984e-06/2.181, allocations: 0 / 1.067 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5028/2.684, allocations: 120.8 MB / 1.185 GB, free: 94.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/2.684, allocations: 132.2 kB / 1.185 GB, free: 94.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.932/8.616, allocations: 0 / 1.185 GB, free: 94.07 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat