Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.001404/0.001404, allocations: 186.7 kB / 13.19 MB, free: 2.121 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.627/1.627, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.0008703/0.0008702, allocations: 85.56 kB / 267 MB, free: 9.27 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.4153/0.4153, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.429e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 58.85 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5893, allocations: 104.7 MB / 0.5751 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5896, allocations: 79.14 kB / 0.5752 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3003/0.89, allocations: 111.4 MB / 0.684 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8901, allocations: 0 / 0.684 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005442/0.8906, allocations: 108 kB / 0.6841 GB, free: 10.38 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02387/0.9145, allocations: 6.123 MB / 0.6901 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.9146, allocations: 11.97 kB / 0.6901 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005147/0.9197, allocations: 0.7582 MB / 0.6909 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4117/1.331, allocations: 10.14 MB / 0.7008 GB, free: 85.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.362, allocations: 9.842 MB / 0.7104 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/1.362, allocations: 365.7 kB / 0.7107 GB, free: 85.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/1.365, allocations: 469.7 kB / 0.7112 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/1.395, allocations: 10.67 MB / 0.7216 GB, free: 83.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.396, allocations: 59.48 kB / 0.7216 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/1.397, allocations: 205.4 kB / 0.7218 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/1.399, allocations: 0.9954 MB / 0.7228 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/1.424, allocations: 8.942 MB / 0.7315 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07309/1.497, allocations: 44.09 MB / 0.7746 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.519, allocations: 7.876 MB / 0.7823 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006059/1.525, allocations: 4.929 MB / 0.7871 GB, free: 56.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.527, allocations: 1.128 MB / 0.7882 GB, free: 55.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/1.527, allocations: 65.53 kB / 0.7883 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 5.049e-06/1.527, allocations: 2.5 kB / 0.7883 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415): time 0.1889/1.716, allocations: 64.99 MB / 0.8517 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01423/1.73, allocations: 10.9 MB / 0.8624 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.737, allocations: 3.709 MB / 0.866 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001656/1.739, allocations: 89.7 kB / 0.8661 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/1.741, allocations: 3.016 MB / 0.869 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002673/1.744, allocations: 1.433 MB / 0.8704 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/1.744, allocations: 116 kB / 0.8705 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002727/1.744, allocations: 0.5297 MB / 0.8711 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006234/1.751, allocations: 4.416 MB / 0.8754 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008758/1.759, allocations: 6.469 MB / 0.8817 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009184/1.769, allocations: 5.421 MB / 0.887 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.733e-05/1.769, allocations: 20 kB / 0.887 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.4645/2.233, allocations: 18.45 MB / 0.905 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/2.233, allocations: 36.34 kB / 0.9051 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/2.233, allocations: 67.38 kB / 0.9051 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/2.259, allocations: 8.609 MB / 0.9135 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0048/2.264, allocations: 1.038 MB / 0.9145 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0792/2.343, allocations: 48.45 MB / 0.9619 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008422/2.351, allocations: 496.7 kB / 0.9623 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002199/2.354, allocations: 280.3 kB / 0.9626 GB, free: 79.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (531): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001559/2.355, allocations: 0.4918 MB / 0.9631 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.357, allocations: 485.3 kB / 0.9635 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03654/2.394, allocations: 17.5 MB / 0.9806 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03316/2.427, allocations: 16.02 MB / 0.9963 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001059/2.427, allocations: 30.83 kB / 0.9963 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/2.427, allocations: 19.22 kB / 0.9963 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06522/2.492, allocations: 34.59 MB / 1.03 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/2.492, allocations: 8 kB / 1.03 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/2.495, allocations: 457.1 kB / 1.031 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02209/2.517, allocations: 8.04 MB / 1.038 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/2.518, allocations: 75.38 kB / 1.038 GB, free: 39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4562/2.974, allocations: 47.51 MB / 1.085 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01643/2.991, allocations: 9.667 MB / 1.094 GB, free: 95.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04377/3.035, allocations: 23.79 MB / 1.118 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006049/3.041, allocations: 1.42 MB / 1.119 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002029/3.043, allocations: 79.97 kB / 1.119 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005443/3.048, allocations: 355.9 kB / 1.119 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/3.051, allocations: 339.3 kB / 1.12 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006064/3.051, allocations: 105.5 kB / 1.12 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006601/3.058, allocations: 2.744 MB / 1.122 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.72e-07/3.058, allocations: 0 / 1.122 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01222/3.07, allocations: 1.971 MB / 1.124 GB, free: 94.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.05018/3.12, allocations: 25.69 MB / 1.149 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02283/3.143, allocations: 12.18 MB / 1.161 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/3.143, allocations: 1.156 kB / 1.161 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/3.158, allocations: 7.015 MB / 1.168 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/3.165, allocations: 0.7475 MB / 1.169 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/3.195, allocations: 15.43 MB / 1.184 GB, free: 74.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00455/3.2, allocations: 4.314 MB / 1.188 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005241/3.205, allocations: 1.709 MB / 1.19 GB, free: 72.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003738/3.209, allocations: 2.607 MB / 1.192 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/3.209, allocations: 0 / 1.192 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6152/3.824, allocations: 162.1 MB / 1.351 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/3.825, allocations: 206.8 kB / 1.351 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/10.52, allocations: 3.938 kB / 1.351 GB, free: 89.02 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat