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.001391/0.001391, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001479/0.001479, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.225/0.225, allocations: 46.97 MB / 361.6 MB, free: 4.137 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.002028/0.002028, allocations: 67.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01663/0.3104, allocations: 13.05 MB / 0.5745 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.3212, allocations: 4.612 MB / 0.579 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.3242, allocations: 111.4 kB / 0.5792 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006864/0.331, allocations: 3.087 MB / 0.5822 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.338, allocations: 2.615 MB / 0.5847 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.3405, allocations: 0.9866 MB / 0.5857 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.351, allocations: 7.057 MB / 0.5926 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005248/0.3562, allocations: 3.593 MB / 0.5961 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.3604, allocations: 2.258 MB / 0.5983 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005774/0.3662, allocations: 3.524 MB / 0.6017 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.3678, allocations: 492 kB / 0.6022 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.3709, allocations: 1.4 MB / 0.6036 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003442/0.3744, allocations: 2.921 MB / 0.6064 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003567/0.378, allocations: 2.38 MB / 0.6087 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.3911, allocations: 10.47 MB / 0.619 GB, free: 9.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3911, allocations: 0 / 0.619 GB, free: 9.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3911, allocations: 0 / 0.619 GB, free: 9.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003481/0.3915, allocations: 3.938 kB / 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.01852/0.41, allocations: 7.377 MB / 0.6262 GB, free: 1.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4101, allocations: 8.031 kB / 0.6262 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.4271, allocations: 3.967 MB / 0.6301 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.4387, allocations: 4.079 MB / 0.634 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.439, allocations: 324.4 kB / 0.6344 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.4408, allocations: 431.6 kB / 0.6348 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.4698, allocations: 15.81 MB / 0.6502 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.47, allocations: 63.52 kB / 0.6503 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/0.4706, allocations: 203.8 kB / 0.6505 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005405/0.476, allocations: 3.223 MB / 0.6536 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/0.5043, allocations: 14.13 MB / 0.6674 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08135/0.5857, allocations: 53.37 MB / 0.7195 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/0.6, allocations: 5.373 MB / 0.7248 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005442/0.6055, allocations: 3.395 MB / 0.7281 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2744/0.8799, allocations: 12.04 MB / 0.7398 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.8799, allocations: 63.86 kB / 0.7399 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.732e-06/0.8799, allocations: 0 / 0.7399 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1402/1.02, allocations: 42.69 MB / 0.7816 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/1.02, allocations: 214 kB / 0.7818 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005937/1.026, allocations: 5.203 MB / 0.7869 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006862/1.027, allocations: 72.89 kB / 0.787 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/1.028, allocations: 4.546 MB / 0.7914 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.03, allocations: 1.325 MB / 0.7927 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00217/1.032, allocations: 1.86 MB / 0.7945 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/1.032, allocations: 305.1 kB / 0.7948 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00517/1.037, allocations: 4.831 MB / 0.7995 GB, free: 103 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006748/1.044, allocations: 9.861 MB / 0.8091 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/1.057, allocations: 15.61 MB / 0.8244 GB, free: 72.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.057, allocations: 52 kB / 0.8244 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03724/1.095, allocations: 19.54 MB / 0.8435 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/1.095, allocations: 80 kB / 0.8436 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.095, allocations: 172 kB / 0.8438 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0212/1.116, allocations: 5.937 MB / 0.8496 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007288/1.123, allocations: 2.117 MB / 0.8516 GB, free: 44.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02753/1.151, allocations: 25.68 MB / 0.8767 GB, free: 18.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/1.158, allocations: 0.5618 MB / 0.8773 GB, free: 18.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.159, allocations: 0.5078 MB / 0.8777 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.004395/1.164, allocations: 3.098 MB / 0.8808 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009633/1.165, allocations: 480.8 kB / 0.8812 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/1.192, allocations: 12.94 MB / 0.8939 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-05/1.193, allocations: 55.98 kB / 0.8939 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.193, allocations: 8 kB / 0.8939 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.962e-05/1.193, allocations: 15.89 kB / 0.8939 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05745/1.25, allocations: 22.27 MB / 0.9157 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.25, allocations: 4.594 kB / 0.9157 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003483/1.254, allocations: 0.5851 MB / 0.9163 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0212/1.275, allocations: 4.966 MB / 0.9211 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007486/1.276, allocations: 59.89 kB / 0.9212 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03187/1.307, allocations: 20.88 MB / 0.9416 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/1.307, allocations: 7.938 kB / 0.9416 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03962/1.347, allocations: 17.53 MB / 0.9587 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.348, allocations: 444.6 kB / 0.9591 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.349, allocations: 56.53 kB / 0.9592 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.352, allocations: 263.6 kB / 0.9594 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007996/1.353, allocations: 207.6 kB / 0.9596 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/1.353, allocations: 84 kB / 0.9597 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004772/1.358, allocations: 3.001 MB / 0.9626 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.358, allocations: 3.938 kB / 0.9626 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007288/1.366, allocations: 1.725 MB / 0.9643 GB, free: 8.23 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.0006548/1.366, allocations: 204.9 kB / 0.9645 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2515/1.618, allocations: 10.54 MB / 0.9748 GB, free: 234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.618, allocations: 1.656 kB / 0.9748 GB, free: 234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006134/1.624, allocations: 3.82 MB / 0.9785 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.627, allocations: 0.5089 MB / 0.979 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.65, allocations: 16.37 MB / 0.995 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/1.654, allocations: 4.113 MB / 0.999 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005536/1.66, allocations: 2.93 MB / 1.002 GB, free: 224.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.661, allocations: 328.9 kB / 1.002 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/1.661, allocations: 0 / 1.002 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.101/1.762, allocations: 78.86 MB / 1.079 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 -s gbode -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.343478422000771]