Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 97.05 kB / 297.2 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4118/0.4118, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 8 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4163, allocations: 63.24 MB / 0.5193 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5683, allocations: 109.1 MB / 0.6258 GB, free: 12.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5686, allocations: 81.94 kB / 0.6258 GB, free: 12.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1362/0.7049, allocations: 52.63 MB / 0.6772 GB, free: 7.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7049, allocations: 0 / 0.6772 GB, free: 7.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001652/0.7051, allocations: 48 kB / 0.6773 GB, free: 7.523 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.007846/0.7129, allocations: 2.372 MB / 0.6796 GB, free: 5.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.713, allocations: 12.03 kB / 0.6796 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001568/0.7146, allocations: 434.7 kB / 0.68 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.7172, allocations: 444 kB / 0.6805 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.7213, allocations: 1.473 MB / 0.6819 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.7216, allocations: 197.3 kB / 0.6821 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.7227, allocations: 264 kB / 0.6823 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.7381, allocations: 5.606 MB / 0.6878 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.7383, allocations: 19.88 kB / 0.6878 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/0.7388, allocations: 116 kB / 0.6879 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006193/0.7394, allocations: 415.5 kB / 0.6883 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.7497, allocations: 4.386 MB / 0.6926 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3113/1.061, allocations: 18.48 MB / 0.7107 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/1.065, allocations: 1.232 MB / 0.7119 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/1.067, allocations: 2.067 MB / 0.7139 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.067, allocations: 42.8 kB / 0.7139 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/1.067, allocations: 1.062 kB / 0.7139 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109): time 0.02432/1.091, allocations: 6.189 MB / 0.72 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.091, allocations: 67.78 kB / 0.72 GB, free: 97.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.093, allocations: 1.525 MB / 0.7215 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/1.093, allocations: 43.39 kB / 0.7216 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/1.094, allocations: 1.513 MB / 0.723 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.094, allocations: 402.6 kB / 0.7234 GB, free: 95.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/1.095, allocations: 54.5 kB / 0.7235 GB, free: 95.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.095, allocations: 413.6 kB / 0.7239 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.096, allocations: 0.7632 MB / 0.7246 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.097, allocations: 2.199 MB / 0.7268 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/1.099, allocations: 1.266 MB / 0.728 GB, free: 93.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/1.099, allocations: 16.56 kB / 0.728 GB, free: 93.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.003764/1.103, allocations: 2.982 MB / 0.7309 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/1.103, allocations: 27.47 kB / 0.731 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/1.103, allocations: 54.86 kB / 0.731 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.966e-05/1.103, allocations: 79.34 kB / 0.7311 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.105, allocations: 0.6029 MB / 0.7317 GB, free: 93.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.225e-05/1.105, allocations: 98.5 kB / 0.7318 GB, free: 93.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.106, allocations: 115 kB / 0.7319 GB, free: 93.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.106, allocations: 152.8 kB / 0.732 GB, free: 93.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.positiveBranch,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],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (341): * Single equations (assignments): 341 * 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 prepare postOptimizeDAE: time 0.001786/1.108, allocations: 1.129 MB / 0.7331 GB, free: 93.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.108, allocations: 165 kB / 0.7333 GB, free: 93.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/1.11, allocations: 1.24 MB / 0.7345 GB, free: 93.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.11, allocations: 14.28 kB / 0.7345 GB, free: 93.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/1.11, allocations: 0.875 kB / 0.7345 GB, free: 93.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.11, allocations: 4.734 kB / 0.7345 GB, free: 93.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/1.12, allocations: 6.211 MB / 0.7406 GB, free: 91.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/1.12, allocations: 21.31 kB / 0.7406 GB, free: 91.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/1.12, allocations: 209.2 kB / 0.7408 GB, free: 91.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.24e-05/1.12, allocations: 28.34 kB / 0.7408 GB, free: 91.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/1.12, allocations: 52.28 kB / 0.7409 GB, free: 91.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.186e-05/1.121, allocations: 40.23 kB / 0.7409 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.101e-05/1.121, allocations: 31.34 kB / 0.7409 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/1.123, allocations: 3.119 MB / 0.744 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/1.124, allocations: 269.1 kB / 0.7442 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.124, allocations: 45.53 kB / 0.7443 GB, free: 87.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/1.125, allocations: 40.69 kB / 0.7443 GB, free: 87.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.125, allocations: 131.3 kB / 0.7445 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.126, allocations: 53.12 kB / 0.7445 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00259/1.128, allocations: 1.131 MB / 0.7456 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.128, allocations: 0 / 0.7456 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003533/1.132, allocations: 479.8 kB / 0.7461 GB, free: 87.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.003779/1.135, allocations: 9.452 MB / 0.7553 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002899/1.138, allocations: 1.76 MB / 0.757 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.138, allocations: 2.219 kB / 0.757 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/1.139, allocations: 488.8 kB / 0.7575 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/1.14, allocations: 254.2 kB / 0.7577 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.159, allocations: 43.55 MB / 0.8003 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.161, allocations: 2.126 MB / 0.8023 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002014/1.163, allocations: 0.6691 MB / 0.803 GB, free: 33.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009833/1.164, allocations: 0.9564 MB / 0.8039 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/1.164, allocations: 0 / 0.8039 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/1.218, allocations: 34.85 MB / 0.838 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001231/1.218, allocations: 170.8 kB / 0.8381 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.56, allocations: 4 kB / 0.8381 GB, free: 27.29 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat