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.001406/0.001406, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001497/0.001497, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.234/0.234, allocations: 46.98 MB / 361.6 MB, free: 4.035 MB / 286.1 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 0.002067/0.002067, allocations: 67.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01705/0.3598, allocations: 13.04 MB / 0.5745 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3708, allocations: 4.616 MB / 0.5791 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.3728, allocations: 111.4 kB / 0.5792 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0061/0.3789, allocations: 3.087 MB / 0.5822 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.3851, allocations: 2.615 MB / 0.5847 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3873, allocations: 0.9827 MB / 0.5857 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.3976, allocations: 7.059 MB / 0.5926 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004616/0.4022, allocations: 3.589 MB / 0.5961 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.4059, allocations: 2.254 MB / 0.5983 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004695/0.4106, allocations: 3.524 MB / 0.6017 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.4116, allocations: 488 kB / 0.6022 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.4143, allocations: 1.404 MB / 0.6036 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003171/0.4175, allocations: 2.921 MB / 0.6064 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003429/0.4209, allocations: 2.38 MB / 0.6087 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.4355, allocations: 10.47 MB / 0.619 GB, free: 9.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.4355, allocations: 0 / 0.619 GB, free: 9.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4355, allocations: 0 / 0.619 GB, free: 9.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004448/0.4359, allocations: 0 / 0.619 GB, free: 9.371 MB / 462.1 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.01883/0.4547, allocations: 7.377 MB / 0.6262 GB, free: 1.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4548, allocations: 8.031 kB / 0.6262 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.4726, allocations: 3.97 MB / 0.6301 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.484, allocations: 4.079 MB / 0.634 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.4843, allocations: 328.4 kB / 0.6344 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.486, allocations: 431.6 kB / 0.6348 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02984/0.5159, allocations: 15.81 MB / 0.6502 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/0.5161, allocations: 67.52 kB / 0.6503 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007697/0.5168, allocations: 199.8 kB / 0.6505 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005343/0.5222, allocations: 3.219 MB / 0.6536 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/0.5506, allocations: 14.13 MB / 0.6674 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08344/0.634, allocations: 53.38 MB / 0.7195 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.6489, allocations: 5.363 MB / 0.7248 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005623/0.6546, allocations: 3.388 MB / 0.7281 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2911/0.9457, allocations: 12.05 MB / 0.7399 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.9457, allocations: 63.28 kB / 0.7399 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.783e-06/0.9457, allocations: 0 / 0.7399 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1406/1.086, allocations: 42.69 MB / 0.7816 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.086, allocations: 222 kB / 0.7818 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006013/1.092, allocations: 5.187 MB / 0.7869 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005557/1.093, allocations: 77.3 kB / 0.787 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.095, allocations: 4.547 MB / 0.7914 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.096, allocations: 1.325 MB / 0.7927 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/1.098, allocations: 1.861 MB / 0.7945 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/1.098, allocations: 309.1 kB / 0.7948 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005325/1.104, allocations: 4.828 MB / 0.7995 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/1.111, allocations: 9.865 MB / 0.8091 GB, free: 90.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/1.124, allocations: 15.6 MB / 0.8244 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/1.124, allocations: 48 kB / 0.8244 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03595/1.16, allocations: 19.54 MB / 0.8435 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.16, allocations: 84.03 kB / 0.8436 GB, free: 52.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/1.16, allocations: 172 kB / 0.8438 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/1.181, allocations: 5.943 MB / 0.8496 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/1.189, allocations: 2.121 MB / 0.8516 GB, free: 44.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02761/1.216, allocations: 25.67 MB / 0.8767 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/1.223, allocations: 0.5695 MB / 0.8773 GB, free: 18.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.225, allocations: 0.5078 MB / 0.8778 GB, free: 17.76 MB / 0.5606 GB 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.004974/1.23, allocations: 3.099 MB / 0.8808 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.231, allocations: 484.8 kB / 0.8812 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/1.26, allocations: 12.94 MB / 0.8939 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-05/1.26, allocations: 19.94 kB / 0.8939 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.26, allocations: 0 / 0.8939 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.261, allocations: 432.6 kB / 0.8943 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/1.263, allocations: 48 kB / 0.8944 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.266, allocations: 255.6 kB / 0.8946 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009034/1.267, allocations: 225.6 kB / 0.8948 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02481/1.292, allocations: 10.5 MB / 0.9051 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02041/1.313, allocations: 12.97 MB / 0.9177 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005325/1.318, allocations: 3.385 MB / 0.921 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005426/1.323, allocations: 3.001 MB / 0.924 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of Backend: time 3.81e-07/1.323, allocations: 3.938 kB / 0.924 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.34, allocations: 7.499 MB / 0.9313 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02795/1.368, allocations: 13.56 MB / 0.9445 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.42/1.788, allocations: 95.34 MB / 1.038 GB, free: 186.6 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.874428374001582]