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.001794/0.001794, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002074/0.002074, allocations: 161.6 kB / 24.27 MB, free: 172 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.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3708/0.3708, allocations: 34.27 MB / 295.3 MB, free: 0.6914 MB / 266.7 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 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.605e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01874/0.01877, allocations: 13.05 MB / 390.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.03229, allocations: 4.624 MB / 395 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.03551, allocations: 111.5 kB / 395.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008098/0.0436, allocations: 3.282 MB / 398.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00909/0.05269, allocations: 2.691 MB / 401 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.05605, allocations: 1.115 MB / 402.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.06951, allocations: 7.811 MB / 410 MB, free: 2.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009538/0.07905, allocations: 4.235 MB / 414.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009496/0.08855, allocations: 3.367 MB / 417.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007456/0.09601, allocations: 3.609 MB / 421.2 MB, free: 6.891 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.09837, allocations: 500 kB / 421.7 MB, free: 6.402 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.1029, allocations: 1.478 MB / 423.1 MB, free: 4.922 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005365/0.1083, allocations: 3.05 MB / 426.2 MB, free: 1.863 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005465/0.1137, allocations: 1.861 MB / 428.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.1313, allocations: 10.59 MB / 438.6 MB, free: 5.375 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1313, allocations: 0 / 438.6 MB, free: 5.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1313, allocations: 4 kB / 438.6 MB, free: 5.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003311/0.1316, allocations: 0 / 438.6 MB, free: 5.371 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.2167/0.3484, allocations: 7.453 MB / 446.1 MB, free: 97.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3484, allocations: 8.562 kB / 446.1 MB, free: 97.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.3657, allocations: 4.808 MB / 450.9 MB, free: 96.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/0.3743, allocations: 4.077 MB / 455 MB, free: 95.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.3745, allocations: 314.4 kB / 455.3 MB, free: 95.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.3759, allocations: 444.7 kB / 455.7 MB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.3991, allocations: 15.9 MB / 471.6 MB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002882/0.3994, allocations: 67.16 kB / 471.7 MB, free: 88.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.4009, allocations: 206.7 kB / 471.9 MB, free: 87.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/0.4062, allocations: 3.225 MB / 475.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.4349, allocations: 14.22 MB / 489.3 MB, free: 79.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06327/0.4981, allocations: 54.11 MB / 0.5307 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.5101, allocations: 5.506 MB / 0.5361 GB, free: 20.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004194/0.5143, allocations: 3.449 MB / 0.5395 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02033/0.5347, allocations: 12.6 MB / 0.5518 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.5347, allocations: 64.55 kB / 0.5518 GB, free: 3.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=293): time 6.352e-06/0.5347, allocations: 0 / 0.5518 GB, free: 3.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=343): time 0.1744/0.7091, allocations: 49.33 MB / 0.6 GB, free: 2.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.7093, allocations: 214 kB / 0.6002 GB, free: 2.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2083/0.9176, allocations: 5.339 MB / 0.6054 GB, free: 132.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009304/0.9185, allocations: 75.42 kB / 0.6055 GB, free: 132.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.9214, allocations: 4.494 MB / 0.6099 GB, free: 129.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00199/0.9233, allocations: 1.308 MB / 0.6112 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003377/0.9267, allocations: 1.833 MB / 0.6129 GB, free: 127.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.9268, allocations: 304 kB / 0.6132 GB, free: 127.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007159/0.9339, allocations: 5.002 MB / 0.6181 GB, free: 125.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/0.9441, allocations: 10 MB / 0.6279 GB, free: 117.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/0.9622, allocations: 15.92 MB / 0.6434 GB, free: 105.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002867/0.9625, allocations: 48.94 kB / 0.6435 GB, free: 105.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.05147/1.014, allocations: 20.8 MB / 0.6638 GB, free: 98.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003277/1.014, allocations: 79.94 kB / 0.6639 GB, free: 98.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005058/1.015, allocations: 171.7 kB / 0.664 GB, free: 98.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/1.041, allocations: 7.67 MB / 0.6715 GB, free: 96.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007811/1.049, allocations: 2.124 MB / 0.6736 GB, free: 94.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03232/1.081, allocations: 27.46 MB / 0.7004 GB, free: 67.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008927/1.09, allocations: 0.6548 MB / 0.7011 GB, free: 66.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.092, allocations: 0.5078 MB / 0.7015 GB, free: 66.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * 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 (1090): * Single equations (assignments): 1082 * 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.007106/1.099, allocations: 3.092 MB / 0.7046 GB, free: 62.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/1.102, allocations: 0.5593 MB / 0.7051 GB, free: 62.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03155/1.133, allocations: 13.81 MB / 0.7186 GB, free: 48.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.139e-05/1.133, allocations: 60.64 kB / 0.7187 GB, free: 48.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/1.133, allocations: 15.94 kB / 0.7187 GB, free: 48.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-05/1.133, allocations: 11.95 kB / 0.7187 GB, free: 48.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05214/1.186, allocations: 23.74 MB / 0.7419 GB, free: 24.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.186, allocations: 4 kB / 0.7419 GB, free: 24.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/1.189, allocations: 0.5973 MB / 0.7424 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02258/1.211, allocations: 6.709 MB / 0.749 GB, free: 16.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008508/1.212, allocations: 59.67 kB / 0.7491 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1954/1.408, allocations: 22.54 MB / 0.7711 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.408, allocations: 7.281 kB / 0.7711 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0355/1.443, allocations: 18.84 MB / 0.7895 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.445, allocations: 479.2 kB / 0.7899 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/1.446, allocations: 54.86 kB / 0.79 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/1.45, allocations: 352.2 kB / 0.7903 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.451, allocations: 207.1 kB / 0.7905 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/1.451, allocations: 85.72 kB / 0.7906 GB, free: 129 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004368/1.456, allocations: 3.112 MB / 0.7936 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.456, allocations: 0 / 0.7936 GB, free: 127.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008662/1.464, allocations: 1.897 MB / 0.7955 GB, free: 127.8 MB / 474.7 MB 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 (258): * Single equations (assignments): 250 * 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.0009025/1.465, allocations: 224.7 kB / 0.7957 GB, free: 127.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01905/1.484, allocations: 10.92 MB / 0.8064 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.484, allocations: 1.156 kB / 0.8064 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006032/1.49, allocations: 4.04 MB / 0.8103 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.495, allocations: 0.5413 MB / 0.8108 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03115/1.526, allocations: 16.61 MB / 0.8271 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/1.531, allocations: 4.12 MB / 0.8311 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006037/1.537, allocations: 2.921 MB / 0.8339 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.539, allocations: 338.4 kB / 0.8343 GB, free: 108.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.843e-06/1.539, allocations: 0 / 0.8343 GB, free: 108.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1008/1.639, allocations: 77.45 MB / 0.9099 GB, free: 34.09 MB / 474.7 MB " [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: 8.544253105064854]