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.001739/0.001739, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001972/0.001972, allocations: 210.7 kB / 24.48 MB, free: 3.941 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2392/0.2392, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.002012/0.002012, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01569/0.3438, allocations: 13.03 MB / 0.5745 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3556, allocations: 4.62 MB / 0.579 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.3578, allocations: 107.5 kB / 0.5791 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006801/0.3646, allocations: 3.087 MB / 0.5822 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009976/0.3746, allocations: 2.619 MB / 0.5847 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.3775, allocations: 0.9866 MB / 0.5857 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3882, allocations: 7.063 MB / 0.5926 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005205/0.3934, allocations: 3.593 MB / 0.5961 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.3977, allocations: 2.266 MB / 0.5983 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005571/0.4033, allocations: 3.528 MB / 0.6017 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.4048, allocations: 488 kB / 0.6022 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.408, allocations: 1.396 MB / 0.6036 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.4116, allocations: 2.925 MB / 0.6064 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003806/0.4154, allocations: 2.376 MB / 0.6088 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.4281, allocations: 10.46 MB / 0.619 GB, free: 9.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4281, allocations: 0 / 0.619 GB, free: 9.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4281, allocations: 0 / 0.619 GB, free: 9.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003094/0.4284, allocations: 3.938 kB / 0.619 GB, free: 9.352 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.01808/0.4465, allocations: 7.388 MB / 0.6262 GB, free: 1.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4465, allocations: 8.031 kB / 0.6262 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.463, allocations: 3.967 MB / 0.6301 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.4741, allocations: 4.083 MB / 0.6341 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.4744, allocations: 320.4 kB / 0.6344 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.4762, allocations: 435.6 kB / 0.6348 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/0.5086, allocations: 15.81 MB / 0.6502 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.5088, allocations: 63.47 kB / 0.6503 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.5099, allocations: 203.8 kB / 0.6505 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005413/0.5153, allocations: 3.216 MB / 0.6536 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.5453, allocations: 14.14 MB / 0.6674 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08663/0.6319, allocations: 53.36 MB / 0.7195 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.6465, allocations: 5.375 MB / 0.7248 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005818/0.6523, allocations: 3.388 MB / 0.7281 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3336/0.9859, allocations: 12.06 MB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.986, allocations: 63.5 kB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 5.831e-06/0.986, allocations: 0 / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.133/1.119, allocations: 42.68 MB / 0.7816 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.119, allocations: 214 kB / 0.7818 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005918/1.125, allocations: 5.196 MB / 0.7869 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008437/1.126, allocations: 84.66 kB / 0.787 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.128, allocations: 4.554 MB / 0.7914 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.129, allocations: 1.325 MB / 0.7927 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/1.131, allocations: 1.857 MB / 0.7945 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/1.131, allocations: 301.1 kB / 0.7948 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/1.137, allocations: 4.828 MB / 0.7995 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007438/1.144, allocations: 9.861 MB / 0.8091 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/1.159, allocations: 15.61 MB / 0.8244 GB, free: 73.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001732/1.159, allocations: 48 kB / 0.8244 GB, free: 73.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04792/1.207, allocations: 19.54 MB / 0.8435 GB, free: 53.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/1.207, allocations: 82.03 kB / 0.8436 GB, free: 53.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003291/1.208, allocations: 172.1 kB / 0.8438 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/1.229, allocations: 5.94 MB / 0.8496 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009178/1.239, allocations: 2.121 MB / 0.8516 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/1.27, allocations: 25.69 MB / 0.8767 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008675/1.279, allocations: 0.5618 MB / 0.8773 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.281, allocations: 0.5078 MB / 0.8778 GB, free: 18.65 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.007632/1.288, allocations: 3.093 MB / 0.8808 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/1.29, allocations: 480.8 kB / 0.8812 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0314/1.322, allocations: 12.94 MB / 0.8939 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/1.322, allocations: 63.66 kB / 0.8939 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-05/1.322, allocations: 8 kB / 0.8939 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.28e-05/1.322, allocations: 19.94 kB / 0.894 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05733/1.379, allocations: 22.27 MB / 0.9157 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/1.379, allocations: 8 kB / 0.9157 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.383, allocations: 0.5856 MB / 0.9163 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02037/1.403, allocations: 4.966 MB / 0.9211 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008564/1.404, allocations: 56 kB / 0.9212 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03087/1.435, allocations: 20.87 MB / 0.9416 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.435, allocations: 15.88 kB / 0.9416 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0396/1.474, allocations: 17.53 MB / 0.9587 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.476, allocations: 436.6 kB / 0.9591 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/1.477, allocations: 56.45 kB / 0.9592 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.481, allocations: 259.6 kB / 0.9594 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009704/1.482, allocations: 205.1 kB / 0.9596 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/1.482, allocations: 96.05 kB / 0.9597 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005343/1.487, allocations: 2.997 MB / 0.9626 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/1.487, allocations: 3.938 kB / 0.9626 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009315/1.497, allocations: 1.723 MB / 0.9643 GB, free: 9.137 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.001118/1.498, allocations: 206.6 kB / 0.9645 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3141/1.812, allocations: 10.55 MB / 0.9748 GB, free: 234.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.812, allocations: 1.125 kB / 0.9748 GB, free: 234.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006416/1.818, allocations: 3.82 MB / 0.9785 GB, free: 234.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/1.822, allocations: 0.5186 MB / 0.9791 GB, free: 234.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.846, allocations: 16.36 MB / 0.995 GB, free: 227.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005085/1.851, allocations: 4.12 MB / 0.9991 GB, free: 226.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005812/1.857, allocations: 2.924 MB / 1.002 GB, free: 225.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.858, allocations: 326.9 kB / 1.002 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.414e-06/1.858, allocations: 0 / 1.002 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1086/1.967, allocations: 78.86 MB / 1.079 GB, free: 148 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 cvode -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.451557186999707]