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.001827/0.001827, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002239/0.002239, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2678/0.2678, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.002277/0.002277, allocations: 67.89 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3522, allocations: 66.03 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01688/0.3691, allocations: 13.05 MB / 0.5738 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3811, allocations: 4.616 MB / 0.5783 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.3842, allocations: 107.5 kB / 0.5784 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007049/0.3913, allocations: 3.095 MB / 0.5814 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.3991, allocations: 2.623 MB / 0.584 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.4021, allocations: 0.9788 MB / 0.585 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.4137, allocations: 7.057 MB / 0.5918 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006522/0.4202, allocations: 3.593 MB / 0.5954 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.4244, allocations: 2.25 MB / 0.5975 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.43, allocations: 3.536 MB / 0.601 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.4316, allocations: 484 kB / 0.6015 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.4351, allocations: 1.393 MB / 0.6028 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004119/0.4392, allocations: 2.925 MB / 0.6057 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003838/0.443, allocations: 2.388 MB / 0.608 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.4558, allocations: 10.46 MB / 0.6182 GB, free: 9.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4558, allocations: 0 / 0.6182 GB, free: 9.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4558, allocations: 0 / 0.6182 GB, free: 9.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003088/0.4561, allocations: 4 kB / 0.6182 GB, free: 9.336 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.01849/0.4746, allocations: 7.377 MB / 0.6254 GB, free: 1.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4747, allocations: 12.03 kB / 0.6254 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.492, allocations: 3.967 MB / 0.6293 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5032, allocations: 4.087 MB / 0.6333 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.5035, allocations: 316.4 kB / 0.6336 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.5049, allocations: 435.6 kB / 0.634 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/0.537, allocations: 15.81 MB / 0.6495 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.5372, allocations: 59.47 kB / 0.6495 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009707/0.5382, allocations: 207.7 kB / 0.6497 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005459/0.5436, allocations: 3.223 MB / 0.6529 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03209/0.5757, allocations: 14.12 MB / 0.6667 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09416/0.6699, allocations: 53.38 MB / 0.7188 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/0.6853, allocations: 5.367 MB / 0.724 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005938/0.6912, allocations: 3.388 MB / 0.7273 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3733/1.065, allocations: 12.06 MB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.065, allocations: 61.06 kB / 0.7392 GB, free: 151 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.292e-06/1.065, allocations: 1.062 kB / 0.7392 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1436/1.208, allocations: 42.68 MB / 0.7809 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/1.208, allocations: 218 kB / 0.7811 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006521/1.215, allocations: 5.201 MB / 0.7861 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009319/1.216, allocations: 69.7 kB / 0.7862 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.218, allocations: 4.55 MB / 0.7907 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.219, allocations: 1.328 MB / 0.792 GB, free: 110 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/1.222, allocations: 1.853 MB / 0.7938 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/1.222, allocations: 309.1 kB / 0.7941 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005549/1.227, allocations: 4.828 MB / 0.7988 GB, free: 103 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007643/1.235, allocations: 9.857 MB / 0.8084 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/1.251, allocations: 15.61 MB / 0.8236 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002286/1.252, allocations: 52 kB / 0.8237 GB, free: 72.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04327/1.295, allocations: 19.54 MB / 0.8428 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/1.295, allocations: 79.98 kB / 0.8429 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004019/1.296, allocations: 180.1 kB / 0.843 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/1.318, allocations: 5.929 MB / 0.8488 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009269/1.327, allocations: 2.121 MB / 0.8509 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/1.358, allocations: 25.68 MB / 0.876 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00849/1.366, allocations: 0.5658 MB / 0.8765 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/1.368, allocations: 0.5078 MB / 0.877 GB, free: 17.67 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.006811/1.375, allocations: 3.097 MB / 0.88 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/1.377, allocations: 488.7 kB / 0.8805 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/1.409, allocations: 12.94 MB / 0.8931 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/1.409, allocations: 52 kB / 0.8932 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/1.409, allocations: 11.98 kB / 0.8932 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-05/1.409, allocations: 11.95 kB / 0.8932 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06365/1.472, allocations: 22.28 MB / 0.915 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/1.472, allocations: 4 kB / 0.915 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003762/1.476, allocations: 0.5856 MB / 0.9155 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02189/1.498, allocations: 4.966 MB / 0.9204 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/1.499, allocations: 59.92 kB / 0.9204 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/1.535, allocations: 20.88 MB / 0.9408 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.535, allocations: 11.88 kB / 0.9409 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04279/1.578, allocations: 17.52 MB / 0.958 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.58, allocations: 440.6 kB / 0.9584 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/1.582, allocations: 52 kB / 0.9584 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/1.587, allocations: 259.6 kB / 0.9587 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/1.589, allocations: 209.5 kB / 0.9589 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007524/1.589, allocations: 81.72 kB / 0.959 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007727/1.597, allocations: 3.001 MB / 0.9619 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.1e-07/1.597, allocations: 0 / 0.9619 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01144/1.608, allocations: 1.73 MB / 0.9636 GB, free: 8.152 MB / 0.6387 GB 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.001465/1.61, allocations: 198.7 kB / 0.9638 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3127/1.923, allocations: 10.54 MB / 0.9741 GB, free: 234.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.923, allocations: 1.219 kB / 0.9741 GB, free: 234.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006722/1.929, allocations: 3.827 MB / 0.9778 GB, free: 233.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.933, allocations: 0.5179 MB / 0.9783 GB, free: 233.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.958, allocations: 16.36 MB / 0.9943 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004989/1.963, allocations: 4.121 MB / 0.9983 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006123/1.969, allocations: 2.925 MB / 1.001 GB, free: 224.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.971, allocations: 332.3 kB / 1.001 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.623e-06/1.971, allocations: 3.938 kB / 1.001 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1051/2.076, allocations: 78.85 MB / 1.078 GB, free: 147.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/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: 9.189768259879202]