Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, 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.315/1.315, 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.0009807/0.000981, allocations: 100 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.5982, allocations: 112.1 MB / 0.614 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5985, allocations: 77.77 kB / 0.614 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.159/0.7575, allocations: 65.2 MB / 0.6777 GB, free: 13.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7576, allocations: 0 / 0.6777 GB, free: 13.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.7578, allocations: 71.98 kB / 0.6778 GB, free: 13.61 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01295/0.7708, allocations: 3.783 MB / 0.6815 GB, free: 9.762 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.7708, allocations: 8.031 kB / 0.6815 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.7754, allocations: 0.6468 MB / 0.6821 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006931/0.7824, allocations: 2.419 MB / 0.6845 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.7826, allocations: 116 kB / 0.6846 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.7844, allocations: 212 kB / 0.6848 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01167/0.796, allocations: 5.55 MB / 0.6902 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.8127, allocations: 6.969 MB / 0.697 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.8129, allocations: 15.88 kB / 0.697 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.8142, allocations: 8 kB / 0.697 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.8153, allocations: 0.6818 MB / 0.6977 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.8572, allocations: 27.29 MB / 0.7244 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.8601, allocations: 1.956 MB / 0.7263 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.8618, allocations: 1.446 MB / 0.7277 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.8727, allocations: 8.272 MB / 0.7358 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.8727, allocations: 43.34 kB / 0.7358 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 3.356e-06/0.8728, allocations: 0 / 0.7358 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.01532/0.8881, allocations: 6.789 MB / 0.7424 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.8882, allocations: 68.66 kB / 0.7425 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.8909, allocations: 1.995 MB / 0.7444 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.891, allocations: 29.7 kB / 0.7445 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.8923, allocations: 2.197 MB / 0.7466 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.8926, allocations: 387 kB / 0.747 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.8928, allocations: 0 / 0.747 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.893, allocations: 461.9 kB / 0.7474 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.8947, allocations: 1.226 MB / 0.7486 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3096/1.204, allocations: 3.312 MB / 0.7519 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/1.212, allocations: 2.578 MB / 0.7544 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.212, allocations: 22.03 kB / 0.7544 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01269/1.225, allocations: 4.792 MB / 0.7591 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/1.225, allocations: 37.78 kB / 0.7591 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/1.225, allocations: 74.25 kB / 0.7592 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/1.225, allocations: 111.2 kB / 0.7593 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.228, allocations: 0.8996 MB / 0.7602 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/1.229, allocations: 148.3 kB / 0.7603 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.231, allocations: 159.3 kB / 0.7605 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/1.231, allocations: 214.3 kB / 0.7607 GB, free: 144.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (474): * Single equations (assignments): 473 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005145/1.232, allocations: 334.5 kB / 0.761 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002304/1.234, allocations: 1.555 MB / 0.7625 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/1.234, allocations: 193.4 kB / 0.7627 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.237, allocations: 1.754 MB / 0.7644 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.237, allocations: 9.625 kB / 0.7644 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.237, allocations: 0.75 kB / 0.7644 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.237, allocations: 10.48 kB / 0.7644 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008517/1.246, allocations: 5.188 MB / 0.7695 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/1.246, allocations: 15 kB / 0.7695 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.247, allocations: 277.6 kB / 0.7698 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/1.247, allocations: 22.12 kB / 0.7698 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/1.247, allocations: 25.95 kB / 0.7698 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/1.247, allocations: 30.53 kB / 0.7698 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.247, allocations: 23.31 kB / 0.7699 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/1.25, allocations: 3.353 MB / 0.7731 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005756/1.251, allocations: 304.6 kB / 0.7734 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.251, allocations: 25.27 kB / 0.7735 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/1.252, allocations: 50.48 kB / 0.7735 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.252, allocations: 133.8 kB / 0.7736 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/1.252, allocations: 60.36 kB / 0.7737 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00191/1.254, allocations: 1.322 MB / 0.775 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.254, allocations: 0.9375 kB / 0.775 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003269/1.257, allocations: 0.5982 MB / 0.7756 GB, free: 140.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003368/1.261, allocations: 8.253 MB / 0.7836 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003958/1.265, allocations: 2.699 MB / 0.7863 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.265, allocations: 0 / 0.7863 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009703/1.266, allocations: 0.7798 MB / 0.787 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.267, allocations: 254.3 kB / 0.7873 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.28, allocations: 6.493 MB / 0.7936 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/1.282, allocations: 2.736 MB / 0.7963 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002477/1.285, allocations: 0.9333 MB / 0.7972 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.286, allocations: 1.365 MB / 0.7985 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/1.286, allocations: 0 / 0.7985 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07531/1.362, allocations: 46.96 MB / 0.8444 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.362, allocations: 135.7 kB / 0.8445 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.429, allocations: 0 / 0.8445 GB, free: 108.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat