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/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: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 191.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0007683/0.0007683, allocations: 96.55 kB / 261.4 MB, free: 13.54 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.1518/0.1518, allocations: 43.5 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.22e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.3325, allocations: 106.5 MB / 0.5694 GB, free: 8.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.3327, allocations: 75.95 kB / 0.5694 GB, free: 8.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3693/0.7021, allocations: 100.1 MB / 0.6672 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002014/0.7023, allocations: 101.6 kB / 0.6673 GB, free: 107.3 MB / 474.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.0121/0.7144, allocations: 5.166 MB / 0.6724 GB, free: 105.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7145, allocations: 7.312 kB / 0.6724 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.7373, allocations: 6.531 MB / 0.6788 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.7528, allocations: 7.574 MB / 0.6862 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.7531, allocations: 158.1 kB / 0.6863 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.7546, allocations: 298.9 kB / 0.6866 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01168/0.7663, allocations: 7.276 MB / 0.6937 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.7844, allocations: 11.03 MB / 0.7045 GB, free: 94.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.7847, allocations: 75.78 kB / 0.7045 GB, free: 94.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007288/0.7854, allocations: 32.75 kB / 0.7046 GB, free: 94.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.787, allocations: 1.225 MB / 0.7058 GB, free: 94.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.8348, allocations: 55.06 MB / 0.7595 GB, free: 42.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.8387, allocations: 4.283 MB / 0.7637 GB, free: 37.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.8413, allocations: 2.951 MB / 0.7666 GB, free: 34.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.8527, allocations: 9.597 MB / 0.776 GB, free: 25.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8528, allocations: 55.78 kB / 0.776 GB, free: 24.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 5.53e-06/0.8528, allocations: 0 / 0.776 GB, free: 24.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.05649/0.9093, allocations: 26.75 MB / 0.8021 GB, free: 14.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.9094, allocations: 213.9 kB / 0.8023 GB, free: 14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/0.9144, allocations: 3.659 MB / 0.8059 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004365/0.9149, allocations: 25.7 kB / 0.8059 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.9167, allocations: 3.262 MB / 0.8091 GB, free: 6.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00099/0.9177, allocations: 0.9403 MB / 0.81 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.918, allocations: 0 / 0.81 GB, free: 6.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004002/0.9184, allocations: 0.5954 MB / 0.8106 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/0.9226, allocations: 2.899 MB / 0.8135 GB, free: 2.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/0.9285, allocations: 6.811 MB / 0.8201 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.9338, allocations: 4.427 MB / 0.8244 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.997e-05/0.9338, allocations: 40 kB / 0.8245 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.1507/1.085, allocations: 11.96 MB / 0.8362 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.085, allocations: 6.938 kB / 0.8362 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.41e-05/1.085, allocations: 145.8 kB / 0.8363 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.095, allocations: 3.839 MB / 0.84 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/1.099, allocations: 1.446 MB / 0.8415 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02664/1.126, allocations: 23.1 MB / 0.864 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.13, allocations: 221.2 kB / 0.8642 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/1.131, allocations: 409.2 kB / 0.8646 GB, free: 166.5 MB / 0.4948 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.0007999/1.132, allocations: 463.1 kB / 0.8651 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/1.132, allocations: 411.8 kB / 0.8655 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/1.146, allocations: 7.599 MB / 0.8729 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.121e-05/1.147, allocations: 25.47 kB / 0.8729 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/1.147, allocations: 15.19 kB / 0.8729 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-05/1.147, allocations: 9.281 kB / 0.8729 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.172, allocations: 15.23 MB / 0.8878 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.172, allocations: 5.5 kB / 0.8878 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.174, allocations: 280.3 kB / 0.8881 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/1.184, allocations: 3.536 MB / 0.8915 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/1.185, allocations: 14.28 kB / 0.8915 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.21, allocations: 21.88 MB / 0.9129 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.21, allocations: 9.969 kB / 0.9129 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01683/1.227, allocations: 12.12 MB / 0.9247 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.229, allocations: 0.8953 MB / 0.9256 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007876/1.23, allocations: 11.7 kB / 0.9256 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.232, allocations: 80.92 kB / 0.9257 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/1.232, allocations: 127.9 kB / 0.9258 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.232, allocations: 68 kB / 0.9259 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003096/1.235, allocations: 2.504 MB / 0.9283 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005836/1.241, allocations: 1.196 MB / 0.9295 GB, free: 127.5 MB / 0.4948 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.0005085/1.242, allocations: 158.3 kB / 0.9297 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009963/1.252, allocations: 7.528 MB / 0.937 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.252, allocations: 0 / 0.937 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/1.256, allocations: 3.105 MB / 0.94 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.259, allocations: 452.4 kB / 0.9405 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.276, allocations: 10.41 MB / 0.9506 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004532/1.28, allocations: 4.276 MB / 0.9548 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/1.28, allocations: 0 / 0.9548 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.07856/1.359, allocations: 63.42 MB / 1.017 GB, free: 42.52 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/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