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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 114.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 187 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4021, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01529/0.4174, allocations: 13.39 MB / 0.5315 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4284, allocations: 4.788 MB / 0.5362 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.4315, allocations: 94.84 kB / 0.5363 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006897/0.4385, allocations: 3.741 MB / 0.5399 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.446, allocations: 2.187 MB / 0.542 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.4488, allocations: 1.083 MB / 0.5431 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009638/0.4584, allocations: 6.514 MB / 0.5495 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.4633, allocations: 4.518 MB / 0.5539 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.4665, allocations: 2.029 MB / 0.5559 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.47, allocations: 2.745 MB / 0.5585 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007441/0.4708, allocations: 432 kB / 0.559 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.4733, allocations: 1.459 MB / 0.5604 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002069/0.4754, allocations: 2.494 MB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.4782, allocations: 2.843 MB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009316/0.4875, allocations: 8.959 MB / 0.5743 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4876, allocations: 4 kB / 0.5743 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4876, allocations: 0 / 0.5743 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001933/0.4878, allocations: 0 / 0.5743 GB, free: 2.602 MB / 430.1 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.01442/0.5022, allocations: 6.432 MB / 0.5806 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5023, allocations: 8.031 kB / 0.5806 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001497/0.5038, allocations: 0.9081 MB / 0.5815 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03818/0.542, allocations: 6.016 MB / 0.5874 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.5542, allocations: 4.964 MB / 0.5922 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.5545, allocations: 287.5 kB / 0.5925 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.5565, allocations: 395.6 kB / 0.5929 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02502/0.5815, allocations: 11.91 MB / 0.6045 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000339/0.5819, allocations: 63.42 kB / 0.6046 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/0.5835, allocations: 175.9 kB / 0.6047 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/0.5872, allocations: 2.143 MB / 0.6068 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/0.6079, allocations: 10.17 MB / 0.6168 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07667/0.6846, allocations: 47.04 MB / 0.6627 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7021, allocations: 5.776 MB / 0.6684 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/0.7067, allocations: 2.943 MB / 0.6712 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/0.7235, allocations: 8.755 MB / 0.6798 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.7236, allocations: 55.81 kB / 0.6798 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 4.508e-06/0.7236, allocations: 0 / 0.6798 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1486/0.8722, allocations: 34.71 MB / 0.7137 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.8724, allocations: 209.9 kB / 0.7139 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3047/1.177, allocations: 4.789 MB / 0.7186 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005404/1.178, allocations: 62.11 kB / 0.7187 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.18, allocations: 3.599 MB / 0.7222 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.181, allocations: 0.9691 MB / 0.7231 GB, free: 167 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/1.183, allocations: 1.346 MB / 0.7244 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.046e-05/1.183, allocations: 304 kB / 0.7247 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/1.187, allocations: 3.027 MB / 0.7277 GB, free: 165 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/1.192, allocations: 6.842 MB / 0.7344 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009955/1.202, allocations: 10.67 MB / 0.7448 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/1.202, allocations: 38.44 kB / 0.7448 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02304/1.225, allocations: 13.22 MB / 0.7577 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/1.225, allocations: 62.41 kB / 0.7578 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.226, allocations: 136 kB / 0.7579 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/1.236, allocations: 4.211 MB / 0.762 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00411/1.24, allocations: 1.411 MB / 0.7634 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/1.271, allocations: 28.57 MB / 0.7913 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/1.276, allocations: 403.2 kB / 0.7917 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006017/1.277, allocations: 396 kB / 0.7921 GB, free: 109.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003204/1.28, allocations: 2.463 MB / 0.7945 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008432/1.281, allocations: 442.3 kB / 0.7949 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.295, allocations: 8.23 MB / 0.8029 GB, free: 97.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/1.295, allocations: 34.66 kB / 0.803 GB, free: 97.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.295, allocations: 23.05 kB / 0.803 GB, free: 97.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.295, allocations: 11.95 kB / 0.803 GB, free: 97.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.321, allocations: 16.73 MB / 0.8193 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.321, allocations: 12.12 kB / 0.8194 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.322, allocations: 291.6 kB / 0.8196 GB, free: 80.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009194/1.331, allocations: 3.808 MB / 0.8234 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000446/1.332, allocations: 47.59 kB / 0.8234 GB, free: 76.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02887/1.36, allocations: 27.33 MB / 0.8501 GB, free: 49.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.36, allocations: 11.94 kB / 0.8501 GB, free: 49.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.378, allocations: 12.13 MB / 0.8619 GB, free: 36.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.38, allocations: 495.2 kB / 0.8624 GB, free: 36.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007114/1.38, allocations: 47.36 kB / 0.8625 GB, free: 36.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.383, allocations: 163.8 kB / 0.8626 GB, free: 36.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007181/1.383, allocations: 198.1 kB / 0.8628 GB, free: 36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/1.384, allocations: 67.94 kB / 0.8629 GB, free: 35.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003726/1.387, allocations: 3.043 MB / 0.8658 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.387, allocations: 0 / 0.8658 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005752/1.393, allocations: 1.428 MB / 0.8672 GB, free: 31.47 MB / 0.5606 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01749/1.411, allocations: 12.79 MB / 0.8797 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.423, allocations: 8.206 MB / 0.8877 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.423, allocations: 0 / 0.8877 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/1.428, allocations: 3.491 MB / 0.8912 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.431, allocations: 0.6145 MB / 0.8918 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4096/1.841, allocations: 64.05 MB / 0.9543 GB, free: 212.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004913/1.846, allocations: 3.918 MB / 0.9581 GB, free: 211.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005022/1.851, allocations: 2.013 MB / 0.9601 GB, free: 211.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002714/1.854, allocations: 2.363 MB / 0.9624 GB, free: 211.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.543e-06/1.854, allocations: 0 / 0.9624 GB, free: 211.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/2.004, allocations: 114.9 MB / 1.075 GB, free: 116.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.48/23.49, allocations: 0 / 1.075 GB, free: 116.6 MB / 0.6231 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches