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.0009899/0.0009899, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001098/0.001098, allocations: 170.2 kB / 24.91 MB, free: 9.188 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.9796/0.9796, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2606/0.2606, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.383e-06/1.383e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.022e-05, allocations: 3.891 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01011/0.01013, allocations: 12.68 MB / 335.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008409/0.01853, allocations: 4.888 MB / 340.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.01965, allocations: 107.4 kB / 340.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.02364, allocations: 3.944 MB / 344.9 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.02706, allocations: 2.286 MB / 347.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.02863, allocations: 1.189 MB / 348.3 MB, free: 484 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.03502, allocations: 7.704 MB / 356 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.03855, allocations: 4.201 MB / 360.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.04204, allocations: 4.109 MB / 364.4 MB, free: 356 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.04474, allocations: 2.985 MB / 367.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.04514, allocations: 432 kB / 367.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.04668, allocations: 1.435 MB / 369.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.04837, allocations: 2.661 MB / 371.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.04956, allocations: 1.644 MB / 373.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.05393, allocations: 5.757 MB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.05393, allocations: 3.984 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.05393, allocations: 4 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.05399, allocations: 0 / 379.3 MB, free: 1.391 MB / 346.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.005594/0.05959, allocations: 5.762 MB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.05962, allocations: 12.03 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.06294, allocations: 1.288 MB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.06576, allocations: 2.717 MB / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.0659, allocations: 283.7 kB / 389.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/0.06632, allocations: 396 kB / 389.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006575/0.07289, allocations: 5.828 MB / 395.5 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.443e-05/0.07299, allocations: 55.52 kB / 395.6 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.07329, allocations: 179.9 kB / 395.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/0.07501, allocations: 1.937 MB / 397.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.08056, allocations: 2.935 MB / 400.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.1088, allocations: 36.16 MB / 436.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.1137, allocations: 2.13 MB / 438.9 MB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.1142, allocations: 437.2 kB / 439.4 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1673/0.2816, allocations: 4.5 MB / 443.9 MB, free: 97.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2816, allocations: 54.12 kB / 443.9 MB, free: 97.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 3.767e-06/0.2816, allocations: 0.7188 kB / 443.9 MB, free: 97.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02538/0.307, allocations: 9.889 MB / 453.8 MB, free: 96.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.307, allocations: 206.9 kB / 454 MB, free: 96.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.3099, allocations: 3.846 MB / 457.9 MB, free: 96.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.31, allocations: 54.97 kB / 457.9 MB, free: 96.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.3113, allocations: 3.538 MB / 461.4 MB, free: 94.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.3118, allocations: 0.7727 MB / 462.2 MB, free: 93.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009468/0.3128, allocations: 1.317 MB / 463.5 MB, free: 93.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.115e-05/0.3128, allocations: 305.1 kB / 463.8 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.314, allocations: 0.865 MB / 464.7 MB, free: 93.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.3161, allocations: 4.968 MB / 469.7 MB, free: 87.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.3196, allocations: 6.422 MB / 476.1 MB, free: 80.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/0.3196, allocations: 44 kB / 476.1 MB, free: 80.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.005211/0.3248, allocations: 5.093 MB / 481.2 MB, free: 76.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.3249, allocations: 70.5 kB / 481.3 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.895e-05/0.3249, allocations: 156.2 kB / 481.4 MB, free: 75.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.3268, allocations: 1.003 MB / 482.4 MB, free: 75.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.329, allocations: 1.612 MB / 484.1 MB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/0.3337, allocations: 6.98 MB / 491 MB, free: 66.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.3365, allocations: 304.6 kB / 491.3 MB, free: 66.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.3368, allocations: 359.2 kB / 491.7 MB, free: 66.27 MB / 410.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.00135/0.3381, allocations: 0.6728 MB / 492.4 MB, free: 65.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.3385, allocations: 267.6 kB / 492.6 MB, free: 65.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.3404, allocations: 1.479 MB / 494.1 MB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.3404, allocations: 20 kB / 494.1 MB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3404, allocations: 6.078 kB / 494.1 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.3404, allocations: 12.03 kB / 494.1 MB, free: 63.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/0.3469, allocations: 5.822 MB / 500 MB, free: 58.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3469, allocations: 8 kB / 500 MB, free: 58.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.3474, allocations: 275.7 kB / 0.4885 GB, free: 58.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.3492, allocations: 0.9599 MB / 0.4894 GB, free: 57.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.3493, allocations: 36 kB / 0.4895 GB, free: 57.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.3529, allocations: 6.188 MB / 0.4955 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3529, allocations: 11.94 kB / 0.4955 GB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.3553, allocations: 2.447 MB / 0.4979 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.3558, allocations: 390.5 kB / 0.4983 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.356, allocations: 43.09 kB / 0.4983 GB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.3567, allocations: 48.02 kB / 0.4984 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.3569, allocations: 148.5 kB / 0.4985 GB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.357, allocations: 44 kB / 0.4986 GB, free: 47.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.3581, allocations: 1.461 MB / 0.5 GB, free: 46.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3581, allocations: 0 / 0.5 GB, free: 46.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003582/0.3616, allocations: 1.266 MB / 0.5012 GB, free: 44.94 MB / 410.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.0003111/0.3619, allocations: 185.6 kB / 0.5014 GB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.365, allocations: 3.409 MB / 0.5047 GB, free: 41.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001323/0.3651, allocations: 108.2 kB / 0.5048 GB, free: 41.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.366, allocations: 1.132 MB / 0.5059 GB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.3679, allocations: 0.7739 MB / 0.5067 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008531/0.3765, allocations: 8.968 MB / 0.5155 GB, free: 30.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3775, allocations: 1.5 MB / 0.5169 GB, free: 28.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0012/0.3787, allocations: 0.5758 MB / 0.5175 GB, free: 28.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/0.3795, allocations: 0.6339 MB / 0.5181 GB, free: 27.53 MB / 410.7 MB Notification: Performance of SimCode: time 3.056e-06/0.3795, allocations: 0 / 0.5181 GB, free: 27.53 MB / 410.7 MB Notification: Performance of Templates: time 0.0559/0.4354, allocations: 43.12 MB / 0.5602 GB, free: 0.9102 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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.236652457155287]