Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.001542/0.001542, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008687/0.0008686, allocations: 90.53 kB / 267.1 MB, free: 9.285 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.4354/0.4354, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.694e-05, allocations: 4 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 58.85 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5551, allocations: 107.2 MB / 0.5776 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5555, allocations: 79.95 kB / 0.5777 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1518/0.7073, allocations: 57.08 MB / 0.6334 GB, free: 4.215 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7073, allocations: 0 / 0.6334 GB, free: 4.215 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.7075, allocations: 52 kB / 0.6335 GB, free: 4.164 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.006899/0.7144, allocations: 2.59 MB / 0.636 GB, free: 1.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.7144, allocations: 12.03 kB / 0.636 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001321/0.7158, allocations: 477.2 kB / 0.6364 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.7183, allocations: 491.7 kB / 0.6369 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.7221, allocations: 1.552 MB / 0.6384 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.7223, allocations: 213.6 kB / 0.6386 GB, free: 14.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006735/0.7229, allocations: 272 kB / 0.6389 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.7397, allocations: 6.653 MB / 0.6454 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.603e-05/0.7399, allocations: 15.88 kB / 0.6454 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.7402, allocations: 124 kB / 0.6455 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009918/0.7412, allocations: 0.5239 MB / 0.646 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.7553, allocations: 5.467 MB / 0.6514 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3769/1.132, allocations: 21.38 MB / 0.6723 GB, free: 98.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.144, allocations: 1.79 MB / 0.674 GB, free: 97.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/1.146, allocations: 0.6498 MB / 0.6746 GB, free: 97.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008728/1.155, allocations: 4.886 MB / 0.6794 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.155, allocations: 50.91 kB / 0.6795 GB, free: 95.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/1.155, allocations: 0 / 0.6795 GB, free: 95.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.03021/1.185, allocations: 7.484 MB / 0.6868 GB, free: 94.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.185, allocations: 94.77 kB / 0.6869 GB, free: 94.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/1.188, allocations: 1.736 MB / 0.6886 GB, free: 94.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001574/1.188, allocations: 39.8 kB / 0.6886 GB, free: 94.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00085/1.189, allocations: 1.676 MB / 0.6902 GB, free: 93.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/1.189, allocations: 410.3 kB / 0.6906 GB, free: 93.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/1.189, allocations: 62.59 kB / 0.6907 GB, free: 93.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/1.189, allocations: 431.8 kB / 0.6911 GB, free: 93.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/1.191, allocations: 0.9966 MB / 0.6921 GB, free: 93.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/1.193, allocations: 2.619 MB / 0.6946 GB, free: 90.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/1.195, allocations: 1.577 MB / 0.6962 GB, free: 90.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/1.195, allocations: 20.14 kB / 0.6962 GB, free: 90.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=374) (initialization): time 0.005463/1.201, allocations: 3.607 MB / 0.6997 GB, free: 90.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/1.201, allocations: 34.19 kB / 0.6997 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-05/1.201, allocations: 62.22 kB / 0.6998 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.239e-05/1.201, allocations: 82.22 kB / 0.6999 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/1.203, allocations: 0.7235 MB / 0.7006 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.582e-05/1.203, allocations: 115.6 kB / 0.7007 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.206, allocations: 161.1 kB / 0.7008 GB, free: 90.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/1.207, allocations: 172 kB / 0.701 GB, free: 90.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (374): * Single equations (assignments): 374 * 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.0004323/1.207, allocations: 345.5 kB / 0.7013 GB, free: 90.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.207, allocations: 175.2 kB / 0.7015 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/1.21, allocations: 1.699 MB / 0.7032 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.21, allocations: 9.719 kB / 0.7032 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.21, allocations: 3.062 kB / 0.7032 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.21, allocations: 11.61 kB / 0.7032 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009424/1.22, allocations: 5.904 MB / 0.709 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/1.22, allocations: 11.03 kB / 0.709 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.221, allocations: 245 kB / 0.7092 GB, free: 88.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.962e-05/1.221, allocations: 19.06 kB / 0.7092 GB, free: 88.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/1.221, allocations: 40.02 kB / 0.7093 GB, free: 88.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-05/1.221, allocations: 22.77 kB / 0.7093 GB, free: 88.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-05/1.221, allocations: 17.81 kB / 0.7093 GB, free: 88.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/1.224, allocations: 2.625 MB / 0.7119 GB, free: 86.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005921/1.224, allocations: 266.7 kB / 0.7121 GB, free: 86.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/1.224, allocations: 40.5 kB / 0.7121 GB, free: 86.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.226, allocations: 57.53 kB / 0.7122 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.226, allocations: 106.6 kB / 0.7123 GB, free: 86.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/1.226, allocations: 45.53 kB / 0.7123 GB, free: 86.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003281/1.229, allocations: 1.254 MB / 0.7136 GB, free: 85.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.229, allocations: 0 / 0.7136 GB, free: 85.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004704/1.234, allocations: 0.5426 MB / 0.7141 GB, free: 85.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.004507/1.238, allocations: 6.504 MB / 0.7205 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004213/1.243, allocations: 2.223 MB / 0.7226 GB, free: 78.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.243, allocations: 5.281 kB / 0.7226 GB, free: 78.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00097/1.244, allocations: 0.5966 MB / 0.7232 GB, free: 78.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.246, allocations: 235.1 kB / 0.7234 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.262, allocations: 5.005 MB / 0.7283 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/1.265, allocations: 2.237 MB / 0.7305 GB, free: 74.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002943/1.268, allocations: 0.7846 MB / 0.7313 GB, free: 74.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.27, allocations: 1.049 MB / 0.7323 GB, free: 74 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/1.27, allocations: 4 kB / 0.7323 GB, free: 74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0747/1.345, allocations: 40.48 MB / 0.7718 GB, free: 64.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.345, allocations: 143.6 kB / 0.772 GB, free: 64.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/4.586, allocations: 4.062 kB / 0.772 GB, free: 64.3 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat