Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_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.001261/0.001261, allocations: 104.8 kB / 15.98 MB, free: 6.758 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.001355/0.001355, allocations: 192 kB / 16.9 MB, free: 6.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 222.8 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3926/0.3926, allocations: 43.51 MB / 313.6 MB, free: 8.457 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 67.89 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1529, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3677/0.5206, allocations: 62.43 MB / 0.4908 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04021/0.5609, allocations: 12.83 MB / 0.5033 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01924/0.5802, allocations: 276.5 kB / 0.5036 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008127/0.5884, allocations: 3.61 MB / 0.5071 GB, free: 500 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008441/0.5969, allocations: 2.039 MB / 0.5091 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.6005, allocations: 1.024 MB / 0.5101 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.6175, allocations: 6.407 MB / 0.5163 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01484/0.6324, allocations: 4.775 MB / 0.521 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006688/0.6392, allocations: 2.095 MB / 0.523 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006408/0.6456, allocations: 3.073 MB / 0.526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00238/0.648, allocations: 428.2 kB / 0.5264 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005431/0.6535, allocations: 1.462 MB / 0.5279 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004848/0.6584, allocations: 2.505 MB / 0.5303 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007205/0.6656, allocations: 2.89 MB / 0.5331 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.6799, allocations: 8.793 MB / 0.5417 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.6799, allocations: 0 / 0.5417 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.68, allocations: 0 / 0.5417 GB, free: 9.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005161/0.6805, allocations: 0 / 0.5417 GB, free: 9.098 MB / 414.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.02442/0.7049, allocations: 6.474 MB / 0.5481 GB, free: 2.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.705, allocations: 11.89 kB / 0.5481 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002659/0.7077, allocations: 0.9042 MB / 0.5489 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03632/0.744, allocations: 6.024 MB / 0.5548 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.7553, allocations: 5.205 MB / 0.5599 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.7556, allocations: 287.7 kB / 0.5602 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.7572, allocations: 387.7 kB / 0.5606 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.7821, allocations: 11.91 MB / 0.5722 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.7823, allocations: 55.52 kB / 0.5722 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.7828, allocations: 175.9 kB / 0.5724 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003281/0.7861, allocations: 2.147 MB / 0.5745 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.8067, allocations: 10.16 MB / 0.5844 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3749/1.182, allocations: 47.31 MB / 0.6306 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.195, allocations: 5.789 MB / 0.6363 GB, free: 112.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/1.199, allocations: 2.926 MB / 0.6391 GB, free: 112.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/1.211, allocations: 8.76 MB / 0.6477 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.211, allocations: 58.88 kB / 0.6477 GB, free: 109.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 7.704e-06/1.211, allocations: 3.594 kB / 0.6477 GB, free: 109.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1235/1.335, allocations: 34.83 MB / 0.6818 GB, free: 100.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.335, allocations: 208.6 kB / 0.682 GB, free: 100.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006669/1.342, allocations: 4.826 MB / 0.6867 GB, free: 98.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006647/1.342, allocations: 68.7 kB / 0.6867 GB, free: 97.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.344, allocations: 3.598 MB / 0.6903 GB, free: 94.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.346, allocations: 0.9728 MB / 0.6912 GB, free: 94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/1.348, allocations: 1.349 MB / 0.6925 GB, free: 93.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/1.348, allocations: 305.1 kB / 0.6928 GB, free: 92.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/1.352, allocations: 3.025 MB / 0.6958 GB, free: 91.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006296/1.358, allocations: 6.837 MB / 0.7024 GB, free: 82.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.369, allocations: 10.67 MB / 0.7129 GB, free: 70.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.339e-05/1.369, allocations: 40 kB / 0.7129 GB, free: 70.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.0232/1.392, allocations: 13.22 MB / 0.7258 GB, free: 57.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/1.392, allocations: 60 kB / 0.7259 GB, free: 57.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.393, allocations: 134.4 kB / 0.726 GB, free: 56.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/1.403, allocations: 4.222 MB / 0.7301 GB, free: 52.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004754/1.408, allocations: 1.411 MB / 0.7315 GB, free: 51.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/1.439, allocations: 28.61 MB / 0.7594 GB, free: 22.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/1.445, allocations: 399.4 kB / 0.7598 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009509/1.446, allocations: 396 kB / 0.7602 GB, free: 21.5 MB / 494.1 MB 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.004039/1.45, allocations: 2.462 MB / 0.7626 GB, free: 19.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008654/1.451, allocations: 450.2 kB / 0.763 GB, free: 18.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.465, allocations: 8.238 MB / 0.7711 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/1.465, allocations: 32.52 kB / 0.7711 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.465, allocations: 16 kB / 0.7711 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/1.465, allocations: 15.95 kB / 0.7711 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/1.495, allocations: 16.89 MB / 0.7876 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/1.495, allocations: 7.938 kB / 0.7876 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.497, allocations: 295.6 kB / 0.7879 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/1.507, allocations: 3.809 MB / 0.7916 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005659/1.508, allocations: 44 kB / 0.7917 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03864/1.546, allocations: 27.31 MB / 0.8184 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.547, allocations: 8 kB / 0.8184 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3463/1.893, allocations: 12.11 MB / 0.8302 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.896, allocations: 0.9538 MB / 0.8311 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.897, allocations: 44.45 kB / 0.8312 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.899, allocations: 167 kB / 0.8313 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008/1.9, allocations: 194.8 kB / 0.8315 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.9, allocations: 70.3 kB / 0.8316 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004714/1.905, allocations: 3.073 MB / 0.8346 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.382e-06/1.905, allocations: 0 / 0.8346 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007606/1.913, allocations: 1.422 MB / 0.836 GB, free: 170.6 MB / 0.5294 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.01994/1.933, allocations: 12.79 MB / 0.8485 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.951, allocations: 9.752 MB / 0.858 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/1.951, allocations: 1.906 kB / 0.858 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006239/1.958, allocations: 3.492 MB / 0.8614 GB, free: 162 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/1.963, allocations: 0.6197 MB / 0.862 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1372/2.1, allocations: 76.32 MB / 0.9365 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009074/2.109, allocations: 3.932 MB / 0.9404 GB, free: 97.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006273/2.116, allocations: 2.016 MB / 0.9423 GB, free: 95.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/2.119, allocations: 2.374 MB / 0.9447 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/2.119, allocations: 4 kB / 0.9447 GB, free: 93.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5358/2.655, allocations: 117 MB / 1.059 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/2.655, allocations: 255.5 kB / 1.059 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.993/7.649, allocations: 1.125 kB / 1.059 GB, free: 158.9 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches