Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00175/0.00175, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001957/0.001957, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.963/0.963, allocations: 158.6 MB / 185.7 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1362/0.1362, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.469e-05, allocations: 10.19 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01007/0.01009, allocations: 14.55 MB / 362.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.01828, allocations: 4.749 MB / 367 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01947, allocations: 107.5 kB / 367.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.02376, allocations: 3.395 MB / 370.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.02922, allocations: 2.745 MB / 373.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.03115, allocations: 1.119 MB / 374.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008602/0.03976, allocations: 7.345 MB / 381.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007114/0.04687, allocations: 4.258 MB / 385.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008823/0.05569, allocations: 3.422 MB / 389.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00531/0.061, allocations: 3.659 MB / 393 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.06258, allocations: 496 kB / 393.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.06559, allocations: 1.486 MB / 395 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002973/0.06856, allocations: 3.121 MB / 398.1 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.07117, allocations: 1.885 MB / 400 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.08011, allocations: 6.978 MB / 407 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.08012, allocations: 3.984 kB / 407 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.08012, allocations: 0 / 407 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003368/0.08045, allocations: 0 / 407 MB, free: 13.91 MB / 346.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.01357/0.09402, allocations: 8.006 MB / 415 MB, free: 5.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.09408, allocations: 12.03 kB / 415 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009737/0.1038, allocations: 4.681 MB / 419.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/0.1107, allocations: 3.719 MB / 423.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.1109, allocations: 316.4 kB / 423.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.1121, allocations: 432.2 kB / 424.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.1276, allocations: 9.007 MB / 433.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/0.1278, allocations: 63.5 kB / 433.2 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004457/0.1282, allocations: 203.8 kB / 433.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003071/0.1313, allocations: 3.212 MB / 436.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.1455, allocations: 5.227 MB / 441.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.222/0.3675, allocations: 60.02 MB / 0.4901 GB, free: 45.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.3749, allocations: 3.045 MB / 0.4931 GB, free: 44.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.3768, allocations: 1.195 MB / 0.4942 GB, free: 44.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.3883, allocations: 8.363 MB / 0.5024 GB, free: 40.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3884, allocations: 59.39 kB / 0.5024 GB, free: 40.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=292): time 6.943e-06/0.3884, allocations: 3.562 kB / 0.5024 GB, free: 40.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=342): time 0.06648/0.4549, allocations: 27.32 MB / 0.5291 GB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.4549, allocations: 213.9 kB / 0.5293 GB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/0.4605, allocations: 4.748 MB / 0.534 GB, free: 9.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007262/0.4612, allocations: 77.7 kB / 0.534 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.4634, allocations: 4.728 MB / 0.5387 GB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.4649, allocations: 1.356 MB / 0.54 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002387/0.4673, allocations: 1.942 MB / 0.5419 GB, free: 1.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.4673, allocations: 476.8 kB / 0.5423 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.4706, allocations: 1.673 MB / 0.544 GB, free: 15.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006991/0.4776, allocations: 9.084 MB / 0.5528 GB, free: 2.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.4904, allocations: 11.73 MB / 0.5643 GB, free: 4.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/0.4906, allocations: 48 kB / 0.5643 GB, free: 4.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02777/0.5184, allocations: 12.34 MB / 0.5764 GB, free: 7.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.5185, allocations: 79.98 kB / 0.5765 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/0.5187, allocations: 179.9 kB / 0.5767 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/0.5331, allocations: 4.861 MB / 0.5814 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/0.5382, allocations: 2.121 MB / 0.5835 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.5521, allocations: 9.371 MB / 0.5926 GB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/0.5587, allocations: 0.619 MB / 0.5932 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/0.5604, allocations: 0.5156 MB / 0.5937 GB, free: 5.668 MB / 442.7 MB 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.003637/0.564, allocations: 0.8604 MB / 0.5946 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/0.5654, allocations: 0.5632 MB / 0.5951 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1977/0.7631, allocations: 7.28 MB / 0.6022 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001415/0.7632, allocations: 62.83 kB / 0.6023 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/0.7632, allocations: 11.38 kB / 0.6023 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/0.7633, allocations: 23.17 kB / 0.6023 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/0.7931, allocations: 15.82 MB / 0.6178 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.7931, allocations: 9.562 kB / 0.6178 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.7951, allocations: 0.5787 MB / 0.6183 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/0.8061, allocations: 4.269 MB / 0.6225 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006916/0.8068, allocations: 58.3 kB / 0.6226 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009984/0.8167, allocations: 8.163 MB / 0.6305 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8168, allocations: 7.875 kB / 0.6306 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/0.8376, allocations: 8.398 MB / 0.6388 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003325/0.8409, allocations: 1.11 MB / 0.6398 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/0.8421, allocations: 55.94 kB / 0.6399 GB, free: 118.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/0.845, allocations: 319.5 kB / 0.6402 GB, free: 118 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/0.8457, allocations: 201.1 kB / 0.6404 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.846, allocations: 87.67 kB / 0.6405 GB, free: 117.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002989/0.849, allocations: 2.041 MB / 0.6425 GB, free: 115.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.849, allocations: 0 / 0.6425 GB, free: 115.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008139/0.8571, allocations: 1.903 MB / 0.6443 GB, free: 113.8 MB / 442.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 (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.0008029/0.8579, allocations: 231 kB / 0.6445 GB, free: 113.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009775/0.8677, allocations: 5.906 MB / 0.6503 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.8677, allocations: 0 / 0.6503 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.8704, allocations: 1.971 MB / 0.6522 GB, free: 106 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.8732, allocations: 0.5401 MB / 0.6528 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.8901, allocations: 12.57 MB / 0.665 GB, free: 92.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.8919, allocations: 1.88 MB / 0.6669 GB, free: 90.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003884/0.8958, allocations: 2.376 MB / 0.6692 GB, free: 88.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.897, allocations: 340.4 kB / 0.6695 GB, free: 88.16 MB / 442.7 MB Notification: Performance of SimCode: time 2.916e-06/0.897, allocations: 6.844 kB / 0.6695 GB, free: 88.16 MB / 442.7 MB Notification: Performance of Templates: time 0.08424/0.9812, allocations: 75.82 MB / 0.7436 GB, free: 12.23 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.284279790241271]