Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009091/0.000909, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 76.11 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.208e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5633, allocations: 109 MB / 0.5725 GB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5636, allocations: 82.39 kB / 0.5725 GB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/0.7301, allocations: 70.92 MB / 0.6418 GB, free: 3.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7302, allocations: 0 / 0.6418 GB, free: 3.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001569/0.7303, allocations: 84 kB / 0.6419 GB, free: 3.68 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01081/0.7412, allocations: 3.892 MB / 0.6457 GB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.7412, allocations: 12.03 kB / 0.6457 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.7465, allocations: 0.7202 MB / 0.6464 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/0.7541, allocations: 2.587 MB / 0.6489 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.7543, allocations: 144 kB / 0.6491 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.7558, allocations: 240 kB / 0.6493 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01148/0.7673, allocations: 5.716 MB / 0.6549 GB, free: 6.254 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.7842, allocations: 7.443 MB / 0.6621 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.7844, allocations: 23.77 kB / 0.6622 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.7855, allocations: 11.94 kB / 0.6622 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.7871, allocations: 0.8082 MB / 0.663 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05026/0.8374, allocations: 27.72 MB / 0.69 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.84, allocations: 1.293 MB / 0.6913 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.8414, allocations: 0.8499 MB / 0.6921 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.8517, allocations: 6.318 MB / 0.6983 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.8518, allocations: 43.12 kB / 0.6983 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.326e-06/0.8518, allocations: 0 / 0.6983 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79): time 0.01482/0.8667, allocations: 5.725 MB / 0.7039 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.8668, allocations: 166.7 kB / 0.7041 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/0.8714, allocations: 2.065 MB / 0.7061 GB, free: 60 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.8715, allocations: 25.7 kB / 0.7061 GB, free: 28 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3236/1.195, allocations: 2.629 MB / 0.7087 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/1.196, allocations: 330.2 kB / 0.709 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.196, allocations: 2.156 kB / 0.709 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.196, allocations: 469.6 kB / 0.7095 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.198, allocations: 0.9378 MB / 0.7104 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.2, allocations: 3.366 MB / 0.7137 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/1.203, allocations: 1.727 MB / 0.7154 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.993e-05/1.203, allocations: 26.59 kB / 0.7154 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.006438/1.209, allocations: 3.774 MB / 0.7191 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/1.209, allocations: 42.75 kB / 0.7191 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.21, allocations: 88.27 kB / 0.7192 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/1.21, allocations: 132.3 kB / 0.7193 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/1.213, allocations: 0.9474 MB / 0.7202 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/1.213, allocations: 169 kB / 0.7204 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.216, allocations: 137.2 kB / 0.7205 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/1.216, allocations: 245.2 kB / 0.7208 GB, free: 129.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * 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.0004901/1.217, allocations: 343 kB / 0.7211 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001744/1.218, allocations: 1.02 MB / 0.7221 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.219, allocations: 215.2 kB / 0.7223 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/1.22, allocations: 0.9447 MB / 0.7232 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.22, allocations: 9.188 kB / 0.7232 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.221, allocations: 1.125 kB / 0.7232 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.221, allocations: 4.969 kB / 0.7232 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009135/1.23, allocations: 4.72 MB / 0.7278 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.23, allocations: 23.16 kB / 0.7279 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/1.231, allocations: 248.8 kB / 0.7281 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.044e-05/1.231, allocations: 28.88 kB / 0.7281 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/1.231, allocations: 27.19 kB / 0.7282 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.459e-05/1.231, allocations: 37.39 kB / 0.7282 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-05/1.231, allocations: 31.72 kB / 0.7282 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.233, allocations: 3.604 MB / 0.7317 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/1.234, allocations: 310.6 kB / 0.732 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.234, allocations: 30.27 kB / 0.7321 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/1.235, allocations: 40.78 kB / 0.7321 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.235, allocations: 139.7 kB / 0.7322 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/1.235, allocations: 55.22 kB / 0.7323 GB, free: 124 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001775/1.237, allocations: 1.378 MB / 0.7336 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.237, allocations: 3.062 kB / 0.7336 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003726/1.24, allocations: 0.593 MB / 0.7342 GB, free: 123.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.003386/1.244, allocations: 9.387 MB / 0.7434 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004152/1.248, allocations: 2.229 MB / 0.7456 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.248, allocations: 3.656 kB / 0.7456 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006546/1.249, allocations: 0.5675 MB / 0.7461 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.25, allocations: 240.6 kB / 0.7463 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/1.27, allocations: 6.996 MB / 0.7532 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/1.276, allocations: 3.041 MB / 0.7562 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003362/1.279, allocations: 1.014 MB / 0.7571 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.281, allocations: 1.575 MB / 0.7587 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.281, allocations: 0 / 0.7587 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08869/1.37, allocations: 47.28 MB / 0.8049 GB, free: 91.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.37, allocations: 139.4 kB / 0.805 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/4.495, allocations: 0 / 0.805 GB, free: 91.07 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat