Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.0009585/0.0009585, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009581/0.0009581, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9715/0.9715, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2905/0.2905, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.841e-05, allocations: 4.141 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01361/0.01364, allocations: 14.4 MB / 392.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.02061, allocations: 4.741 MB / 397.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.02147, allocations: 107.5 kB / 397.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.02552, allocations: 3.375 MB / 400.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.02919, allocations: 2.699 MB / 403.3 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.0308, allocations: 1.111 MB / 404.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.0409, allocations: 7.815 MB / 412.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.04561, allocations: 4.243 MB / 416.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.05011, allocations: 3.387 MB / 419.9 MB, free: 8.941 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003939/0.05405, allocations: 3.64 MB / 423.5 MB, free: 5.293 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.05461, allocations: 496 kB / 424 MB, free: 4.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.0565, allocations: 1.482 MB / 425.5 MB, free: 3.324 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.0587, allocations: 3.066 MB / 428.5 MB, free: 256 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.06042, allocations: 1.858 MB / 430.4 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.06686, allocations: 6.893 MB / 437.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.06686, allocations: 0 / 437.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.06686, allocations: 0 / 437.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.06691, allocations: 0 / 437.3 MB, free: 7.465 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1778/0.2447, allocations: 7.947 MB / 445.2 MB, free: 98.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2447, allocations: 8.719 kB / 445.3 MB, free: 98.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.2569, allocations: 4.683 MB / 449.9 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0084/0.2653, allocations: 3.67 MB / 453.6 MB, free: 97.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003188/0.2685, allocations: 316.4 kB / 453.9 MB, free: 97.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.2692, allocations: 436.1 kB / 454.3 MB, free: 97.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.2933, allocations: 9.004 MB / 463.3 MB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.2935, allocations: 62.16 kB / 463.4 MB, free: 92.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/0.294, allocations: 204.6 kB / 463.6 MB, free: 92.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006477/0.3005, allocations: 3.217 MB / 466.8 MB, free: 91.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.3252, allocations: 5.224 MB / 472 MB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/0.3673, allocations: 60.01 MB / 0.5196 GB, free: 39.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006271/0.3736, allocations: 3.052 MB / 0.5226 GB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.375, allocations: 1.196 MB / 0.5237 GB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008626/0.3836, allocations: 8.323 MB / 0.5319 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3836, allocations: 71.31 kB / 0.5319 GB, free: 26.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 3.927e-06/0.3836, allocations: 0 / 0.5319 GB, free: 26.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.04917/0.4328, allocations: 27.25 MB / 0.5585 GB, free: 15.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.4329, allocations: 217.9 kB / 0.5588 GB, free: 14.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.4374, allocations: 4.716 MB / 0.5634 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.4377, allocations: 77.69 kB / 0.5634 GB, free: 10.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/0.4399, allocations: 4.714 MB / 0.568 GB, free: 5.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.4409, allocations: 1.365 MB / 0.5694 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.4428, allocations: 1.935 MB / 0.5713 GB, free: 2.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4429, allocations: 476.8 kB / 0.5717 GB, free: 1.586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/0.4455, allocations: 1.677 MB / 0.5734 GB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.4512, allocations: 9.088 MB / 0.5822 GB, free: 3.457 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009507/0.4607, allocations: 11.73 MB / 0.5937 GB, free: 4.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.314e-05/0.4607, allocations: 48 kB / 0.5937 GB, free: 4.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.2002/0.6609, allocations: 12.33 MB / 0.6058 GB, free: 119.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.661, allocations: 78.41 kB / 0.6058 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/0.6612, allocations: 177.2 kB / 0.606 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/0.6736, allocations: 4.86 MB / 0.6108 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.6777, allocations: 2.12 MB / 0.6128 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.6893, allocations: 9.358 MB / 0.622 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/0.6936, allocations: 0.617 MB / 0.6226 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004913/0.6941, allocations: 0.5093 MB / 0.6231 GB, free: 115.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001764/0.6958, allocations: 0.8631 MB / 0.6239 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/0.6965, allocations: 0.5587 MB / 0.6245 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.7117, allocations: 7.292 MB / 0.6316 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.702e-05/0.7118, allocations: 55.66 kB / 0.6316 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.7118, allocations: 9.312 kB / 0.6316 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.7118, allocations: 14.72 kB / 0.6317 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.7353, allocations: 15.8 MB / 0.6471 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.7353, allocations: 5.344 kB / 0.6471 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.737, allocations: 0.5885 MB / 0.6477 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/0.7477, allocations: 4.265 MB / 0.6518 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/0.748, allocations: 59.05 kB / 0.6519 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009547/0.7575, allocations: 8.152 MB / 0.6599 GB, free: 96.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7575, allocations: 8.031 kB / 0.6599 GB, free: 96.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.7742, allocations: 8.401 MB / 0.6681 GB, free: 88.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.7753, allocations: 476.5 kB / 0.6685 GB, free: 87.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/0.7758, allocations: 55.36 kB / 0.6686 GB, free: 87.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7774, allocations: 307.5 kB / 0.6689 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/0.778, allocations: 201.5 kB / 0.6691 GB, free: 87.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.7782, allocations: 87.98 kB / 0.6691 GB, free: 87.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002297/0.7805, allocations: 2.005 MB / 0.6711 GB, free: 85.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7805, allocations: 0 / 0.6711 GB, free: 85.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005139/0.7856, allocations: 1.874 MB / 0.6729 GB, free: 83.35 MB / 458.7 MB 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005462/0.7861, allocations: 219.7 kB / 0.6731 GB, free: 83.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007437/0.7936, allocations: 5.911 MB / 0.6789 GB, free: 77.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7936, allocations: 0 / 0.6789 GB, free: 77.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.7958, allocations: 1.974 MB / 0.6808 GB, free: 75.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7978, allocations: 0.5421 MB / 0.6814 GB, free: 74.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.8141, allocations: 12.54 MB / 0.6936 GB, free: 62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.8155, allocations: 1.868 MB / 0.6954 GB, free: 60.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003768/0.8193, allocations: 2.38 MB / 0.6978 GB, free: 57.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009102/0.8202, allocations: 341.5 kB / 0.6981 GB, free: 57.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.295e-06/0.8202, allocations: 0 / 0.6981 GB, free: 57.39 MB / 458.7 MB Notification: Performance of Templates: time 0.2329/1.053, allocations: 75.22 MB / 0.7715 GB, free: 135.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.375423213001341]