Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",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.001417/0.001417, allocations: 180.7 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.486/1.486, allocations: 221.3 MB / 236 MB, free: 2.926 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.0008867/0.0008866, allocations: 96.05 kB / 287 MB, free: 236 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.2155/0.2155, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.552e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5923, allocations: 109 MB / 0.6083 GB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5926, allocations: 83.94 kB / 0.6083 GB, free: 12.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1727/0.7653, allocations: 67.66 MB / 0.6744 GB, free: 8.113 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.7654, allocations: 0 / 0.6744 GB, free: 8.113 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.7656, allocations: 67.98 kB / 0.6745 GB, free: 8.047 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01045/0.776, allocations: 3.254 MB / 0.6776 GB, free: 4.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.7761, allocations: 12.02 kB / 0.6777 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001922/0.778, allocations: 0.5562 MB / 0.6782 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.781, allocations: 0.5731 MB / 0.6788 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.7862, allocations: 2.028 MB / 0.6807 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.7865, allocations: 254.7 kB / 0.681 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009667/0.7874, allocations: 335.8 kB / 0.6813 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/0.8082, allocations: 7.542 MB / 0.6887 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.207e-05/0.8083, allocations: 19.81 kB / 0.6887 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004849/0.8088, allocations: 147.9 kB / 0.6888 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009385/0.8098, allocations: 0.5987 MB / 0.6894 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.826, allocations: 6.229 MB / 0.6955 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3572/1.183, allocations: 24.11 MB / 0.719 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/1.189, allocations: 1.837 MB / 0.7208 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.191, allocations: 0.7953 MB / 0.7216 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007601/1.198, allocations: 5.82 MB / 0.7273 GB, free: 123 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.198, allocations: 45.95 kB / 0.7273 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=75): time 3.236e-06/1.198, allocations: 0 / 0.7273 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.01435/1.213, allocations: 4.013 MB / 0.7313 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.213, allocations: 66.05 kB / 0.7313 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/1.217, allocations: 1.997 MB / 0.7333 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.217, allocations: 42.41 kB / 0.7333 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.218, allocations: 2.039 MB / 0.7353 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.218, allocations: 370.9 kB / 0.7357 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/1.219, allocations: 68.62 kB / 0.7357 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.219, allocations: 455.8 kB / 0.7362 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.22, allocations: 0.8507 MB / 0.737 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/1.222, allocations: 2.912 MB / 0.7398 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.224, allocations: 1.556 MB / 0.7414 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-05/1.224, allocations: 20.84 kB / 0.7414 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005353/1.23, allocations: 3.685 MB / 0.745 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/1.23, allocations: 35.06 kB / 0.745 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-05/1.23, allocations: 73.16 kB / 0.7451 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.209e-05/1.23, allocations: 109.2 kB / 0.7452 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.232, allocations: 0.7911 MB / 0.746 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.879e-05/1.232, allocations: 142.1 kB / 0.7461 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.234, allocations: 154.6 kB / 0.7462 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.235, allocations: 202.7 kB / 0.7464 GB, free: 117.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.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],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (436): * Single equations (assignments): 436 * 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.0003506/1.235, allocations: 396.3 kB / 0.7468 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.235, allocations: 195.8 kB / 0.747 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/1.237, allocations: 1.124 MB / 0.7481 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/1.237, allocations: 14.25 kB / 0.7481 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.237, allocations: 0 / 0.7481 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.237, allocations: 3.891 kB / 0.7481 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/1.244, allocations: 5.375 MB / 0.7534 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.244, allocations: 15.75 kB / 0.7534 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/1.244, allocations: 246.6 kB / 0.7536 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-05/1.244, allocations: 26.28 kB / 0.7536 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/1.244, allocations: 47.94 kB / 0.7537 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/1.244, allocations: 37.86 kB / 0.7537 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/1.244, allocations: 27.12 kB / 0.7537 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/1.246, allocations: 3.468 MB / 0.7571 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/1.247, allocations: 301.6 kB / 0.7574 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.247, allocations: 57.91 kB / 0.7575 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/1.248, allocations: 45.86 kB / 0.7575 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.248, allocations: 140.4 kB / 0.7576 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/1.248, allocations: 58.66 kB / 0.7577 GB, free: 112 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001728/1.25, allocations: 1.439 MB / 0.7591 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.25, allocations: 8.609 kB / 0.7591 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002748/1.252, allocations: 0.5812 MB / 0.7597 GB, free: 111.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.002983/1.255, allocations: 9.13 MB / 0.7686 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003334/1.259, allocations: 2.114 MB / 0.7707 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.259, allocations: 3.688 kB / 0.7707 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000677/1.26, allocations: 0.5585 MB / 0.7712 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.261, allocations: 321 kB / 0.7715 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.277, allocations: 5.876 MB / 0.7773 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.28, allocations: 2.528 MB / 0.7797 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002601/1.282, allocations: 0.9222 MB / 0.7806 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.284, allocations: 1.25 MB / 0.7818 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/1.284, allocations: 0 / 0.7818 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07196/1.356, allocations: 44.27 MB / 0.8251 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/1.357, allocations: 152 kB / 0.8252 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/4.742, allocations: 0 / 0.8252 GB, free: 71.21 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat