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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002475, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002778, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9674/0.9674, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1458/1.113, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1317/0.1317, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02197/0.1536, allocations: 12.3 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.107e-05/5.358e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0111/0.01115, allocations: 12.87 MB / 280.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02116, allocations: 4.932 MB / 285.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/0.02448, allocations: 111.4 kB / 285.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1493/0.1737, allocations: 3.788 MB / 289.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.1788, allocations: 2.315 MB / 291.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1807, allocations: 1.109 MB / 292.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00797/0.1887, allocations: 6.624 MB / 299.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006058/0.1948, allocations: 4.044 MB / 303.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/0.2021, allocations: 3.845 MB / 307 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.2071, allocations: 2.977 MB / 310 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.2086, allocations: 436 kB / 310.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.2116, allocations: 1.44 MB / 311.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002963/0.2146, allocations: 2.413 MB / 314.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003042/0.2176, allocations: 1.356 MB / 315.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.2246, allocations: 5.389 MB / 321 MB, free: 428 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2246, allocations: 0 / 321 MB, free: 428 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2246, allocations: 0 / 321 MB, free: 428 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002371/0.2248, allocations: 0 / 321 MB, free: 428 kB / 298.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.008712/0.2335, allocations: 6.917 MB / 327.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2336, allocations: 8.031 kB / 327.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.237, allocations: 1.287 MB / 329.2 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.2412, allocations: 2.749 MB / 332 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2413, allocations: 288.9 kB / 332.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/0.2418, allocations: 380.6 kB / 332.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008392/0.2502, allocations: 5.839 MB / 338.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.2504, allocations: 60.12 kB / 338.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.2507, allocations: 178.5 kB / 338.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.2522, allocations: 1.82 MB / 340.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005123/0.2573, allocations: 2.936 MB / 343.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.287, allocations: 36.2 MB / 379.7 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005016/0.292, allocations: 2.075 MB / 381.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.2926, allocations: 433.2 kB / 382.2 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005931/0.2985, allocations: 4.497 MB / 386.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2985, allocations: 51.56 kB / 386.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 4.368e-06/0.2985, allocations: 0 / 386.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.02634/0.3249, allocations: 9.883 MB / 396.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.3249, allocations: 149.8 kB / 396.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00418/0.3291, allocations: 3.881 MB / 400.6 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.3294, allocations: 57.7 kB / 400.7 MB, free: 500 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.3313, allocations: 3.539 MB / 404.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/0.332, allocations: 0.7714 MB / 405 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.3331, allocations: 1.315 MB / 406.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.3332, allocations: 301.1 kB / 406.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3345, allocations: 0.8629 MB / 407.5 MB, free: 9.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.3376, allocations: 4.973 MB / 412.4 MB, free: 2.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005424/0.3431, allocations: 6.914 MB / 419.3 MB, free: 9.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/0.3431, allocations: 44 kB / 419.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006414/0.3495, allocations: 5.101 MB / 424.5 MB, free: 4.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.3496, allocations: 68 kB / 424.6 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.3497, allocations: 156 kB / 424.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.3519, allocations: 1.01 MB / 425.7 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.3549, allocations: 1.724 MB / 427.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006076/0.361, allocations: 6.993 MB / 434.4 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/0.3653, allocations: 299.7 kB / 434.7 MB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006965/0.366, allocations: 360 kB / 435.1 MB, free: 9.363 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001756/0.3677, allocations: 0.6845 MB / 435.8 MB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006801/0.3684, allocations: 267.7 kB / 436 MB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.3707, allocations: 1.471 MB / 437.5 MB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.3707, allocations: 16 kB / 437.5 MB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3707, allocations: 8 kB / 437.5 MB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3707, allocations: 7.969 kB / 437.5 MB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008377/0.3791, allocations: 5.85 MB / 443.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.3791, allocations: 12 kB / 443.4 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.3798, allocations: 304.2 kB / 443.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.3808, allocations: 0.5361 MB / 444.2 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1424/0.5232, allocations: 0.9574 MB / 445.2 MB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.5235, allocations: 38.75 kB / 445.2 MB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.5288, allocations: 6.163 MB / 451.4 MB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.5288, allocations: 8.062 kB / 451.4 MB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.5332, allocations: 2.457 MB / 453.8 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007949/0.534, allocations: 40.17 kB / 453.9 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5351, allocations: 37 kB / 453.9 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.5354, allocations: 151.8 kB / 454.1 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.5356, allocations: 45.17 kB / 454.1 MB, free: 119.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002034/0.5376, allocations: 1.48 MB / 455.6 MB, free: 119.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5376, allocations: 0 / 455.6 MB, free: 119.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004225/0.5418, allocations: 1.304 MB / 456.9 MB, free: 119.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003555/0.5422, allocations: 188.7 kB / 457.1 MB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.5462, allocations: 3.532 MB / 460.6 MB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002496/0.5465, allocations: 118.6 kB / 460.7 MB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.5489, allocations: 1.798 MB / 462.5 MB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.5522, allocations: 3.671 MB / 466.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.5668, allocations: 9.213 MB / 475.4 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.5681, allocations: 1.502 MB / 476.9 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00159/0.5697, allocations: 0.5741 MB / 477.5 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/0.5705, allocations: 0.6242 MB / 478.1 MB, free: 111.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5705, allocations: 4 kB / 478.1 MB, free: 111.3 MB / 426.7 MB Notification: Performance of Templates: time 0.05306/0.6236, allocations: 43.45 MB / 0.5093 GB, free: 73.11 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8537864992395043]