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/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.001053/0.001053, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001114/0.001114, allocations: 169.2 kB / 24.82 MB, free: 8.93 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 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2772/0.2772, allocations: 32.8 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 180] 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 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.923e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01387/0.0139, allocations: 12.63 MB / 389.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02433, allocations: 4.707 MB / 393.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.0261, allocations: 119.4 kB / 393.9 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.03004, allocations: 3.94 MB / 397.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.03362, allocations: 2.305 MB / 400.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.03539, allocations: 1.197 MB / 401.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006433/0.04182, allocations: 7.709 MB / 409.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004052/0.04587, allocations: 4.435 MB / 413.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/0.05061, allocations: 4.238 MB / 417.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.054, allocations: 3.129 MB / 420.9 MB, free: 7.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007416/0.05474, allocations: 432 kB / 421.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.05654, allocations: 1.396 MB / 422.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.05816, allocations: 2.661 MB / 425.3 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.05971, allocations: 1.651 MB / 427 MB, free: 1.633 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005785/0.0655, allocations: 5.754 MB / 432.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0655, allocations: 4 kB / 432.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0655, allocations: 0 / 432.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.011e-05/0.06555, allocations: 0 / 432.8 MB, free: 11.85 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.006762/0.07231, allocations: 6.432 MB / 439.2 MB, free: 5.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.07235, allocations: 12.03 kB / 439.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.07728, allocations: 2.104 MB / 441.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.08062, allocations: 2.925 MB / 444.2 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1626/0.2432, allocations: 283.9 kB / 444.5 MB, free: 80.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009429/0.2442, allocations: 384.1 kB / 444.9 MB, free: 80.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007247/0.2514, allocations: 6.49 MB / 451.4 MB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.2515, allocations: 60.48 kB / 451.4 MB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.2518, allocations: 175.5 kB / 451.6 MB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001408/0.2532, allocations: 1.934 MB / 453.5 MB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/0.2582, allocations: 2.92 MB / 456.5 MB, free: 76.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.2825, allocations: 49.88 MB / 0.4945 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005038/0.2875, allocations: 2.266 MB / 0.4967 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.2882, allocations: 0.5338 MB / 0.4972 GB, free: 38.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006521/0.2947, allocations: 4.838 MB / 0.5019 GB, free: 36.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2948, allocations: 56.36 kB / 0.502 GB, free: 36.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 6.001e-06/0.2948, allocations: 0 / 0.502 GB, free: 36.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03177/0.3265, allocations: 12.4 MB / 0.5141 GB, free: 34.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3266, allocations: 201.2 kB / 0.5143 GB, free: 34.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.3299, allocations: 4.273 MB / 0.5185 GB, free: 32.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.33, allocations: 56.52 kB / 0.5185 GB, free: 32.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.3313, allocations: 4.083 MB / 0.5225 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.3317, allocations: 0.7991 MB / 0.5233 GB, free: 28.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.3328, allocations: 1.524 MB / 0.5248 GB, free: 26.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.3328, allocations: 487.4 kB / 0.5252 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.3337, allocations: 0.6696 MB / 0.5259 GB, free: 25.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/0.336, allocations: 6.987 MB / 0.5327 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.3397, allocations: 8.322 MB / 0.5408 GB, free: 6.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-05/0.3398, allocations: 44 kB / 0.5409 GB, free: 6.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.005822/0.3456, allocations: 5.938 MB / 0.5467 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3456, allocations: 70.06 kB / 0.5467 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.062e-05/0.3457, allocations: 148 kB / 0.5469 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.3477, allocations: 1.021 MB / 0.5479 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.35, allocations: 1.536 MB / 0.5494 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.3562, allocations: 9.194 MB / 0.5584 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.359, allocations: 307.6 kB / 0.5587 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/0.3594, allocations: 363.9 kB / 0.559 GB, free: 3.875 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.001361/0.3607, allocations: 0.7195 MB / 0.5597 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008316/0.3616, allocations: 469.2 kB / 0.5602 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.364, allocations: 1.64 MB / 0.5618 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.3641, allocations: 23.98 kB / 0.5618 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.3641, allocations: 8 kB / 0.5618 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3641, allocations: 11.91 kB / 0.5618 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.3742, allocations: 6.818 MB / 0.5685 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3742, allocations: 8 kB / 0.5685 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3747, allocations: 247.6 kB / 0.5687 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.3765, allocations: 0.7606 MB / 0.5694 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/0.3766, allocations: 38.5 kB / 0.5695 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.3818, allocations: 8.396 MB / 0.5777 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.3818, allocations: 11.94 kB / 0.5777 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.385, allocations: 2.908 MB / 0.5805 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.3855, allocations: 418.5 kB / 0.5809 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.3857, allocations: 36 kB / 0.581 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.3864, allocations: 48.05 kB / 0.581 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.3866, allocations: 144.6 kB / 0.5811 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.3867, allocations: 47.98 kB / 0.5812 GB, free: 13.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001656/0.3884, allocations: 1.762 MB / 0.5829 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3884, allocations: 0 / 0.5829 GB, free: 11.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003623/0.392, allocations: 1.277 MB / 0.5842 GB, free: 10.23 MB / 458.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.0003024/0.3923, allocations: 190.5 kB / 0.5843 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004195/0.3965, allocations: 3.863 MB / 0.5881 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3965, allocations: 192 / 0.5881 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.3977, allocations: 1.442 MB / 0.5895 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.3993, allocations: 0.5191 MB / 0.59 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.41, allocations: 9.089 MB / 0.5989 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4113, allocations: 1.511 MB / 0.6004 GB, free: 9.418 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.4126, allocations: 0.576 MB / 0.6009 GB, free: 8.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/0.4135, allocations: 0.6894 MB / 0.6016 GB, free: 8.148 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4135, allocations: 0 / 0.6016 GB, free: 8.148 MB / 474.7 MB Notification: Performance of Templates: time 0.2008/0.6143, allocations: 43.21 MB / 0.6438 GB, free: 129.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6101433811709285]