Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.4 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 97.88 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.706e-05/4.758e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.599, allocations: 108.8 MB / 0.608 GB, free: 12.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5993, allocations: 79.95 kB / 0.6081 GB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1396/0.7389, allocations: 54.5 MB / 0.6613 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.739, allocations: 0 / 0.6613 GB, free: 5.527 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.7391, allocations: 48 kB / 0.6614 GB, free: 5.48 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007273/0.7464, allocations: 2.446 MB / 0.6638 GB, free: 2.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.7465, allocations: 8.031 kB / 0.6638 GB, free: 2.969 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001391/0.7479, allocations: 451 kB / 0.6642 GB, free: 2.516 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.7501, allocations: 444.1 kB / 0.6646 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/0.7537, allocations: 1.493 MB / 0.6661 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.7539, allocations: 193.2 kB / 0.6663 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.7543, allocations: 259.9 kB / 0.6665 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.7683, allocations: 6.28 MB / 0.6726 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/0.7684, allocations: 11.88 kB / 0.6727 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.7687, allocations: 116 kB / 0.6728 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005513/0.7692, allocations: 467.8 kB / 0.6732 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.7822, allocations: 5.283 MB / 0.6784 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.8115, allocations: 20.14 MB / 0.698 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007091/0.8186, allocations: 1.793 MB / 0.6998 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.8197, allocations: 0.6514 MB / 0.7004 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/0.8263, allocations: 4.721 MB / 0.705 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.8264, allocations: 39.12 kB / 0.7051 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 4.558e-06/0.8264, allocations: 0 / 0.7051 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110): time 0.02894/0.8554, allocations: 7.069 MB / 0.712 GB, free: 208 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.8555, allocations: 68.41 kB / 0.712 GB, free: 128 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.316/1.171, allocations: 1.607 MB / 0.7136 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/1.172, allocations: 42.83 kB / 0.7137 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.173, allocations: 1.534 MB / 0.7152 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/1.173, allocations: 412.6 kB / 0.7155 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/1.173, allocations: 56.31 kB / 0.7156 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.174, allocations: 418 kB / 0.716 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.175, allocations: 0.98 MB / 0.717 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/1.178, allocations: 2.48 MB / 0.7194 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/1.18, allocations: 1.518 MB / 0.7209 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/1.18, allocations: 15.22 kB / 0.7209 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005956/1.186, allocations: 3.463 MB / 0.7243 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/1.186, allocations: 28.5 kB / 0.7243 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-05/1.186, allocations: 53.12 kB / 0.7243 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/1.186, allocations: 78.89 kB / 0.7244 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/1.189, allocations: 0.6858 MB / 0.7251 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/1.189, allocations: 106.6 kB / 0.7252 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.191, allocations: 150.4 kB / 0.7253 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/1.192, allocations: 153.9 kB / 0.7255 GB, free: 144.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.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],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 (353): * Single equations (assignments): 353 * 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.0004616/1.192, allocations: 335.5 kB / 0.7258 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/1.192, allocations: 169.8 kB / 0.726 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.196, allocations: 1.723 MB / 0.7276 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.196, allocations: 11.84 kB / 0.7276 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.196, allocations: 0 / 0.7276 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/1.196, allocations: 10.16 kB / 0.7277 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/1.206, allocations: 5.616 MB / 0.7331 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.206, allocations: 11.16 kB / 0.7332 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.207, allocations: 255 kB / 0.7334 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.388e-05/1.207, allocations: 18.44 kB / 0.7334 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-05/1.207, allocations: 31.41 kB / 0.7334 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/1.207, allocations: 27.95 kB / 0.7335 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/1.207, allocations: 16.53 kB / 0.7335 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/1.209, allocations: 2.542 MB / 0.736 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/1.21, allocations: 255.6 kB / 0.7362 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.21, allocations: 37.25 kB / 0.7362 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/1.211, allocations: 60.02 kB / 0.7363 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.211, allocations: 109.5 kB / 0.7364 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.211, allocations: 42.78 kB / 0.7364 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002113/1.213, allocations: 1.17 MB / 0.7376 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.213, allocations: 1.156 kB / 0.7376 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002904/1.216, allocations: 0.5111 MB / 0.7381 GB, free: 139.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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.002919/1.219, allocations: 6.339 MB / 0.7443 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003758/1.223, allocations: 2.168 MB / 0.7464 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.223, allocations: 3.75 kB / 0.7464 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/1.224, allocations: 0.6078 MB / 0.747 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.225, allocations: 241.1 kB / 0.7472 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/1.234, allocations: 4.689 MB / 0.7518 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.236, allocations: 2.113 MB / 0.7539 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002045/1.238, allocations: 0.7496 MB / 0.7546 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.239, allocations: 0.9663 MB / 0.7555 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/1.239, allocations: 0 / 0.7555 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/1.301, allocations: 38.53 MB / 0.7932 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.301, allocations: 150.5 kB / 0.7933 GB, free: 113 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/4.448, allocations: 4.062 kB / 0.7933 GB, free: 113 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat