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.001453/0.001453, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001733/0.001733, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2663/0.2663, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 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 2.124e-06/2.124e-06, allocations: 3.938 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.381e-05, allocations: 5.547 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01117/0.0112, allocations: 14.45 MB / 392.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008398/0.0196, allocations: 4.752 MB / 397.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.02236, allocations: 107.5 kB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.02717, allocations: 3.379 MB / 400.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.03403, allocations: 2.706 MB / 403.4 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.03634, allocations: 1.119 MB / 404.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008041/0.04438, allocations: 7.81 MB / 412.3 MB, free: 244 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005018/0.0494, allocations: 4.239 MB / 416.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/0.0566, allocations: 4.436 MB / 421 MB, free: 7.484 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.06121, allocations: 3.574 MB / 424.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.06274, allocations: 492 kB / 425.1 MB, free: 3.422 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.06565, allocations: 1.463 MB / 426.5 MB, free: 1.957 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002756/0.06841, allocations: 3.058 MB / 429.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.07166, allocations: 1.85 MB / 431.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009215/0.08087, allocations: 6.873 MB / 438.3 MB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.08088, allocations: 0 / 438.3 MB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.08088, allocations: 0 / 438.3 MB, free: 6.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003599/0.08124, allocations: 0 / 438.3 MB, free: 6.137 MB / 410.7 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.1818/0.263, allocations: 7.945 MB / 446.3 MB, free: 92.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2631, allocations: 8.312 kB / 446.3 MB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008522/0.2716, allocations: 4.584 MB / 450.9 MB, free: 92.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.2771, allocations: 3.497 MB / 454.4 MB, free: 91.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.2773, allocations: 320.8 kB / 454.7 MB, free: 91.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009785/0.2783, allocations: 426.2 kB / 455.1 MB, free: 91.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.2919, allocations: 9.028 MB / 464.1 MB, free: 86.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.2921, allocations: 54.98 kB / 464.2 MB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.2926, allocations: 202.1 kB / 464.4 MB, free: 86.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002567/0.2952, allocations: 3.165 MB / 467.5 MB, free: 86.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.3093, allocations: 5.127 MB / 472.7 MB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04867/0.358, allocations: 60.14 MB / 0.5203 GB, free: 35.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006115/0.3641, allocations: 2.808 MB / 0.523 GB, free: 32.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.3657, allocations: 1.049 MB / 0.5241 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.3759, allocations: 7.526 MB / 0.5314 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3759, allocations: 59.39 kB / 0.5315 GB, free: 24.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.821e-06/0.3759, allocations: 0 / 0.5315 GB, free: 24.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02778/0.4037, allocations: 16.12 MB / 0.5472 GB, free: 8.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.4038, allocations: 209.9 kB / 0.5474 GB, free: 8.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005004/0.4088, allocations: 4.84 MB / 0.5521 GB, free: 3.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006507/0.4094, allocations: 65.7 kB / 0.5522 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.4116, allocations: 4.818 MB / 0.5569 GB, free: 14.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.413, allocations: 1.222 MB / 0.5581 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/0.4151, allocations: 1.911 MB / 0.56 GB, free: 11.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.4152, allocations: 480.5 kB / 0.5604 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.4171, allocations: 1.157 MB / 0.5616 GB, free: 9.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005532/0.4226, allocations: 8.845 MB / 0.5702 GB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.434, allocations: 10.94 MB / 0.5809 GB, free: 15.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/0.4342, allocations: 52 kB / 0.5809 GB, free: 15.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.0175/0.4517, allocations: 8.366 MB / 0.5891 GB, free: 6.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4518, allocations: 84 kB / 0.5892 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/0.4521, allocations: 184.2 kB / 0.5894 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/0.4553, allocations: 1.021 MB / 0.5904 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006289/0.4616, allocations: 2.113 MB / 0.5924 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.469, allocations: 5.862 MB / 0.5981 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/0.475, allocations: 0.5731 MB / 0.5987 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/0.4764, allocations: 0.5078 MB / 0.5992 GB, free: 12.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 (1108): * Single equations (assignments): 1100 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003267/0.4796, allocations: 0.8682 MB / 0.6 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.4809, allocations: 0.5549 MB / 0.6006 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/0.4868, allocations: 2.866 MB / 0.6034 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/0.4869, allocations: 51.98 kB / 0.6034 GB, free: 7.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4869, allocations: 4 kB / 0.6034 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.4869, allocations: 11.95 kB / 0.6035 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.189/0.6759, allocations: 9.333 MB / 0.6126 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.676, allocations: 9.156 kB / 0.6126 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.6773, allocations: 0.5254 MB / 0.6131 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/0.6791, allocations: 0.7618 MB / 0.6138 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.6793, allocations: 56.75 kB / 0.6139 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.6826, allocations: 4.832 MB / 0.6186 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.6826, allocations: 13.38 kB / 0.6186 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.6882, allocations: 4.285 MB / 0.6228 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.6893, allocations: 466.9 kB / 0.6233 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/0.6899, allocations: 53.8 kB / 0.6233 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6912, allocations: 239 kB / 0.6235 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.6915, allocations: 177.4 kB / 0.6237 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6917, allocations: 80.59 kB / 0.6238 GB, free: 125.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00265/0.6943, allocations: 2.057 MB / 0.6258 GB, free: 125.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6943, allocations: 0 / 0.6258 GB, free: 125.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004946/0.6993, allocations: 1.569 MB / 0.6273 GB, free: 125.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (239): * Single equations (assignments): 231 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005095/0.6998, allocations: 214.2 kB / 0.6275 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006679/0.7065, allocations: 4.719 MB / 0.6321 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.7065, allocations: 6.5 kB / 0.6321 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.708, allocations: 1.301 MB / 0.6334 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.7103, allocations: 0.5338 MB / 0.6339 GB, free: 124.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.7268, allocations: 11.56 MB / 0.6452 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.729, allocations: 1.837 MB / 0.647 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004663/0.7337, allocations: 2.389 MB / 0.6493 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.7347, allocations: 328.7 kB / 0.6497 GB, free: 119.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.856e-06/0.7347, allocations: 1.312 kB / 0.6497 GB, free: 119.9 MB / 474.7 MB Notification: Performance of Templates: time 0.06464/0.7993, allocations: 48.47 MB / 0.697 GB, free: 84.95 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] 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","",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.924191778060049]