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: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 180 kB / 8.519 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.4 MB / 230.3 MB, free: 3.043 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.0009442/0.0009442, allocations: 92.81 kB / 281.2 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3174/0.3174, allocations: 44.14 MB / 376.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.069e-05, allocations: 0 / 444 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.358, allocations: 61.9 MB / 0.4941 GB, free: 42.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4928, allocations: 108.3 MB / 0.5999 GB, free: 8.891 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4931, allocations: 71.97 kB / 0.6 GB, free: 8.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4749/0.968, allocations: 101.4 MB / 0.6989 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00018/0.9682, allocations: 107.2 kB / 0.699 GB, free: 85.73 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.00983/0.978, allocations: 5.152 MB / 0.7041 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.9781, allocations: 10.91 kB / 0.7041 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02358/1.002, allocations: 6.521 MB / 0.7105 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/1.018, allocations: 7.238 MB / 0.7175 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.018, allocations: 163.7 kB / 0.7177 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/1.019, allocations: 297.7 kB / 0.718 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01039/1.029, allocations: 7.274 MB / 0.7251 GB, free: 82.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/1.046, allocations: 11.03 MB / 0.7358 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/1.046, allocations: 73.72 kB / 0.7359 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/1.047, allocations: 30.94 kB / 0.7359 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/1.048, allocations: 1.223 MB / 0.7371 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04967/1.098, allocations: 55.01 MB / 0.7909 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/1.102, allocations: 4.286 MB / 0.795 GB, free: 45.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.106, allocations: 2.951 MB / 0.7979 GB, free: 44.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/1.12, allocations: 9.588 MB / 0.8073 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.12, allocations: 51.88 kB / 0.8073 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 6.603e-06/1.12, allocations: 0 / 0.8073 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.06551/1.185, allocations: 26.62 MB / 0.8333 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.186, allocations: 209.9 kB / 0.8335 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/1.191, allocations: 3.634 MB / 0.8371 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006387/1.192, allocations: 25.7 kB / 0.8371 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.193, allocations: 3.261 MB / 0.8403 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009801/1.194, allocations: 0.9365 MB / 0.8412 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/1.195, allocations: 0 / 0.8412 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002769/1.195, allocations: 0.5992 MB / 0.8418 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/1.198, allocations: 2.903 MB / 0.8446 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006284/1.205, allocations: 6.815 MB / 0.8513 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006528/1.211, allocations: 4.423 MB / 0.8556 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.704e-05/1.211, allocations: 40 kB / 0.8556 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.0277/1.239, allocations: 11.96 MB / 0.8673 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.239, allocations: 4 kB / 0.8673 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.239, allocations: 148 kB / 0.8675 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/1.252, allocations: 3.841 MB / 0.8712 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005319/1.257, allocations: 1.453 MB / 0.8726 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2305/1.487, allocations: 23.1 MB / 0.8952 GB, free: 185.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/1.493, allocations: 219.5 kB / 0.8954 GB, free: 185.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.494, allocations: 420.1 kB / 0.8958 GB, free: 185.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (784): * Single equations (assignments): 778 * 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.001112/1.496, allocations: 447.4 kB / 0.8962 GB, free: 185 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007956/1.496, allocations: 420.1 kB / 0.8966 GB, free: 185 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.511, allocations: 7.594 MB / 0.904 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/1.511, allocations: 24.22 kB / 0.9041 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.511, allocations: 12.88 kB / 0.9041 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/1.511, allocations: 9.75 kB / 0.9041 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.539, allocations: 15.2 MB / 0.9189 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/1.539, allocations: 7.031 kB / 0.9189 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.54, allocations: 278.4 kB / 0.9192 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/1.55, allocations: 3.546 MB / 0.9227 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.551, allocations: 15.91 kB / 0.9227 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/1.58, allocations: 21.86 MB / 0.944 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.58, allocations: 6.062 kB / 0.944 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02104/1.601, allocations: 12.11 MB / 0.9559 GB, free: 169.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.602, allocations: 443.3 kB / 0.9563 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.604, allocations: 13.11 kB / 0.9563 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.606, allocations: 78.52 kB / 0.9564 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/1.607, allocations: 128.9 kB / 0.9565 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/1.607, allocations: 67.97 kB / 0.9566 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004784/1.612, allocations: 2.481 MB / 0.959 GB, free: 168.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008271/1.62, allocations: 1.193 MB / 0.9601 GB, free: 168.4 MB / 0.5417 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 () * 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 (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.0008346/1.621, allocations: 163.7 kB / 0.9603 GB, free: 168.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.634, allocations: 7.53 MB / 0.9677 GB, free: 165.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.634, allocations: 0 / 0.9677 GB, free: 165.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005741/1.64, allocations: 3.119 MB / 0.9707 GB, free: 164.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/1.644, allocations: 444.7 kB / 0.9711 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/1.673, allocations: 10.38 MB / 0.9813 GB, free: 160.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01038/1.683, allocations: 4.275 MB / 0.9854 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/1.683, allocations: 0 / 0.9854 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1175/1.801, allocations: 63.41 MB / 1.047 GB, free: 108 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches