Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.001062/0.001062, allocations: 176.7 kB / 17.06 MB, free: 5.098 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.392/1.392, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 90.89 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3862/0.3862, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.000324, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3921, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.5598, allocations: 109.2 MB / 0.6162 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.5602, allocations: 79.94 kB / 0.6163 GB, free: 1.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5222/1.082, allocations: 105 MB / 0.7189 GB, free: 96.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.082, allocations: 1.031 kB / 0.7189 GB, free: 96.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00038/1.083, allocations: 109.8 kB / 0.719 GB, free: 96.53 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02073/1.104, allocations: 5.663 MB / 0.7245 GB, free: 93.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.104, allocations: 9.719 kB / 0.7245 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004796/1.108, allocations: 1.02 MB / 0.7255 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02626/1.135, allocations: 6.877 MB / 0.7322 GB, free: 92.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/1.154, allocations: 7.227 MB / 0.7393 GB, free: 90.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/1.154, allocations: 381.7 kB / 0.7397 GB, free: 89.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/1.157, allocations: 0.495 MB / 0.7401 GB, free: 89.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/1.182, allocations: 12.35 MB / 0.7522 GB, free: 83.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/1.183, allocations: 69.81 kB / 0.7523 GB, free: 83.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009596/1.184, allocations: 237 kB / 0.7525 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/1.185, allocations: 1.141 MB / 0.7536 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/1.205, allocations: 10.29 MB / 0.7637 GB, free: 79.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05724/1.262, allocations: 55.68 MB / 0.818 GB, free: 23.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.275, allocations: 5.704 MB / 0.8236 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/1.29, allocations: 8.774 MB / 0.8322 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.29, allocations: 51.88 kB / 0.8322 GB, free: 8.801 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.249e-06/1.29, allocations: 0 / 0.8322 GB, free: 8.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1202/1.41, allocations: 35.88 MB / 0.8673 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.41, allocations: 217.9 kB / 0.8675 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007767/1.418, allocations: 4.192 MB / 0.8716 GB, free: 380 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000767/1.419, allocations: 69.7 kB / 0.8716 GB, free: 304 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2673/1.686, allocations: 3.589 MB / 0.8751 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.688, allocations: 0.9737 MB / 0.8761 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/1.688, allocations: 135.4 kB / 0.8762 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003253/1.689, allocations: 0.5865 MB / 0.8768 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/1.693, allocations: 3.006 MB / 0.8797 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.7, allocations: 6.818 MB / 0.8864 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006086/1.706, allocations: 4.43 MB / 0.8907 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.706, allocations: 38 kB / 0.8907 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02547/1.731, allocations: 13.07 MB / 0.9035 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/1.732, allocations: 66.89 kB / 0.9036 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002453/1.732, allocations: 133.5 kB / 0.9037 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/1.744, allocations: 4.088 MB / 0.9077 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006195/1.751, allocations: 1.419 MB / 0.9091 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03615/1.787, allocations: 26.9 MB / 0.9353 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/1.794, allocations: 396.2 kB / 0.9357 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/1.796, allocations: 399.5 kB / 0.9361 GB, free: 92.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 3 * 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 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.006513/1.802, allocations: 2.477 MB / 0.9385 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.803, allocations: 446.6 kB / 0.9389 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/1.82, allocations: 8.111 MB / 0.9469 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/1.82, allocations: 29.88 kB / 0.9469 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.287e-05/1.82, allocations: 10.5 kB / 0.9469 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-05/1.821, allocations: 13.5 kB / 0.9469 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/1.856, allocations: 16.7 MB / 0.9632 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/1.856, allocations: 6.844 kB / 0.9632 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.857, allocations: 297.8 kB / 0.9635 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009944/1.867, allocations: 3.777 MB / 0.9672 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005404/1.868, allocations: 56.45 kB / 0.9673 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03036/1.898, allocations: 25.64 MB / 0.9923 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.898, allocations: 15.89 kB / 0.9923 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/1.919, allocations: 12.63 MB / 1.005 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.92, allocations: 489.5 kB / 1.005 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.922, allocations: 47.5 kB / 1.005 GB, free: 47.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.925, allocations: 165.7 kB / 1.005 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009306/1.926, allocations: 198.2 kB / 1.006 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003825/1.927, allocations: 68 kB / 1.006 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006403/1.933, allocations: 2.98 MB / 1.008 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/1.933, allocations: 0 / 1.008 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009522/1.943, allocations: 1.43 MB / 1.01 GB, free: 43.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (161): * Single equations (assignments): 155 * Array equations: 3 * 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 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02153/1.964, allocations: 14.42 MB / 1.024 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.978, allocations: 8.139 MB / 1.032 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.978, allocations: 4 kB / 1.032 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006254/1.985, allocations: 3.474 MB / 1.035 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/1.989, allocations: 0.5485 MB / 1.036 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4202/2.41, allocations: 141.1 MB / 1.174 GB, free: 61.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008304/2.418, allocations: 4.031 MB / 1.178 GB, free: 60.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006879/2.425, allocations: 2.026 MB / 1.18 GB, free: 60.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004431/2.429, allocations: 2.376 MB / 1.182 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/2.429, allocations: 0 / 1.182 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/2.621, allocations: 117.6 MB / 1.297 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/2.621, allocations: 220.5 kB / 1.297 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.229/7.85, allocations: 0 / 1.297 GB, free: 0.6875 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat