Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001635/0.001635, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002012/0.002012, allocations: 174.5 kB / 24.91 MB, free: 8.773 MB / 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3043/0.3043, allocations: 32.8 MB / 294.6 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 323.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.183e-05, allocations: 5.156 kB / 323.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01404/0.01408, allocations: 14.09 MB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02419, allocations: 4.902 MB / 342.2 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.02681, allocations: 107.5 kB / 342.3 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004515/0.03133, allocations: 3.387 MB / 345.7 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006618/0.03795, allocations: 2.714 MB / 348.4 MB, free: 300 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.04028, allocations: 1.119 MB / 349.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008938/0.04922, allocations: 7.798 MB / 357.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005635/0.05486, allocations: 4.361 MB / 361.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007833/0.06269, allocations: 4.401 MB / 366.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/0.06769, allocations: 3.421 MB / 369.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.06953, allocations: 492 kB / 370 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.07292, allocations: 1.459 MB / 371.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003991/0.07691, allocations: 3.05 MB / 374.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00746/0.08437, allocations: 1.846 MB / 376.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.09472, allocations: 6.874 MB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09473, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09473, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003163/0.09505, allocations: 3.938 kB / 383.2 MB, free: 13.31 MB / 362.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.009921/0.105, allocations: 6.571 MB / 389.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.105, allocations: 8.031 kB / 389.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.1102, allocations: 1.819 MB / 391.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.1148, allocations: 2.815 MB / 394.4 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.115, allocations: 324.3 kB / 394.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/0.1157, allocations: 424.3 kB / 395.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.1262, allocations: 7.332 MB / 402.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.1264, allocations: 63.5 kB / 402.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.1268, allocations: 199.8 kB / 402.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.1294, allocations: 2.865 MB / 405.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009172/0.1385, allocations: 3.927 MB / 409.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.233/0.3715, allocations: 43.34 MB / 452.9 MB, free: 79.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.379, allocations: 2.583 MB / 455.5 MB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3807, allocations: 0.723 MB / 456.2 MB, free: 79.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.3954, allocations: 6.646 MB / 462.8 MB, free: 78.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.3955, allocations: 60.73 kB / 462.9 MB, free: 78.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 8.135e-06/0.3955, allocations: 2.906 kB / 462.9 MB, free: 78.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.03181/0.4273, allocations: 9.902 MB / 472.8 MB, free: 75.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.4274, allocations: 213.4 kB / 473 MB, free: 75.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.4318, allocations: 4.318 MB / 477.3 MB, free: 72.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.4322, allocations: 69.89 kB / 477.4 MB, free: 72.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.4338, allocations: 4.338 MB / 481.7 MB, free: 68.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000952/0.4347, allocations: 1.173 MB / 482.9 MB, free: 67.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.436, allocations: 1.661 MB / 484.6 MB, free: 65.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.436, allocations: 308.1 kB / 484.9 MB, free: 65.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4379, allocations: 1.264 MB / 486.1 MB, free: 64.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.441, allocations: 6.266 MB / 492.4 MB, free: 55.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.4464, allocations: 8.21 MB / 0.4889 GB, free: 45.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.4465, allocations: 52 kB / 0.4889 GB, free: 45.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.008868/0.4553, allocations: 6.438 MB / 0.4952 GB, free: 38.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.4554, allocations: 84 kB / 0.4953 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.4556, allocations: 180 kB / 0.4955 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.4574, allocations: 0.8235 MB / 0.4963 GB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/0.4615, allocations: 1.981 MB / 0.4982 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.4654, allocations: 4.37 MB / 0.5025 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/0.4708, allocations: 367.7 kB / 0.5028 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/0.472, allocations: 452 kB / 0.5033 GB, free: 30.16 MB / 410.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.002927/0.4749, allocations: 0.8243 MB / 0.5041 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000996/0.4759, allocations: 327.6 kB / 0.5044 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.4791, allocations: 2.145 MB / 0.5065 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.4791, allocations: 51.98 kB / 0.5065 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4791, allocations: 4 kB / 0.5065 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4791, allocations: 11.95 kB / 0.5065 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.49, allocations: 6.366 MB / 0.5127 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.49, allocations: 8 kB / 0.5128 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4911, allocations: 408.1 kB / 0.5131 GB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.4929, allocations: 0.7938 MB / 0.5139 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/0.4932, allocations: 55.97 kB / 0.514 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.4957, allocations: 3.429 MB / 0.5173 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4957, allocations: 11.94 kB / 0.5173 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.4999, allocations: 3.123 MB / 0.5204 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.501, allocations: 444.7 kB / 0.5208 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/0.5016, allocations: 44 kB / 0.5208 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.5027, allocations: 51.98 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.503, allocations: 181.4 kB / 0.5211 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5031, allocations: 59.98 kB / 0.5211 GB, free: 11.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.5047, allocations: 1.583 MB / 0.5227 GB, free: 9.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5047, allocations: 0 / 0.5227 GB, free: 9.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006001/0.5107, allocations: 1.566 MB / 0.5242 GB, free: 8.191 MB / 410.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.0006435/0.5113, allocations: 197.2 kB / 0.5244 GB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005142/0.5165, allocations: 3.9 MB / 0.5282 GB, free: 4.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000287/0.5167, allocations: 120.2 kB / 0.5283 GB, free: 3.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.518, allocations: 0.9809 MB / 0.5293 GB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/0.5215, allocations: 0.8738 MB / 0.5301 GB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.5388, allocations: 11.34 MB / 0.5412 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.5414, allocations: 1.815 MB / 0.543 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002368/0.5438, allocations: 0.7153 MB / 0.5437 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.5452, allocations: 0.7472 MB / 0.5444 GB, free: 3.281 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5452, allocations: 0 / 0.5444 GB, free: 3.281 MB / 426.7 MB Notification: Performance of Templates: time 0.07448/0.6197, allocations: 51.05 MB / 0.5943 GB, free: 0.5938 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.727877266705036]