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.001337/0.001337, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001861/0.001861, allocations: 165.4 kB / 24.84 MB, free: 8.711 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 1.041/1.041, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1514/0.1514, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.943e-06/1.943e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.841e-05, allocations: 9.344 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.009925/0.009943, allocations: 14.18 MB / 363.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009034/0.01898, allocations: 4.71 MB / 367.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.02029, allocations: 107.5 kB / 367.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.02435, allocations: 3.352 MB / 371.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.02869, allocations: 2.749 MB / 374 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.03076, allocations: 1.127 MB / 375.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007679/0.03844, allocations: 7.342 MB / 382.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/0.04258, allocations: 4.262 MB / 386.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.04752, allocations: 4.12 MB / 390.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.05132, allocations: 3.593 MB / 394.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006146/0.05193, allocations: 492 kB / 394.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.05413, allocations: 1.486 MB / 396.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.05672, allocations: 3.093 MB / 399.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.05853, allocations: 1.881 MB / 401.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007166/0.0657, allocations: 6.951 MB / 408.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.0657, allocations: 0 / 408.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0657, allocations: 3.938 kB / 408.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.347e-05/0.06576, allocations: 0 / 408.3 MB, free: 13.5 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.009767/0.07552, allocations: 7.455 MB / 415.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.07557, allocations: 8.031 kB / 415.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.08287, allocations: 2.786 MB / 418.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.08635, allocations: 3.106 MB / 421.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.08651, allocations: 324.4 kB / 422 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.08705, allocations: 424.2 kB / 422.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/0.0958, allocations: 8.093 MB / 430.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-05/0.09589, allocations: 51.53 kB / 430.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.09625, allocations: 203.8 kB / 430.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002604/0.09885, allocations: 2.857 MB / 433.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006533/0.1054, allocations: 3.962 MB / 437.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2155/0.3209, allocations: 59.26 MB / 496.8 MB, free: 47.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/0.3268, allocations: 2.563 MB / 499.4 MB, free: 47.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.328, allocations: 0.8796 MB / 0.4886 GB, free: 47.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009377/0.3373, allocations: 6.996 MB / 0.4954 GB, free: 45.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3374, allocations: 66.73 kB / 0.4954 GB, free: 45.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=272): time 4.298e-06/0.3374, allocations: 0 / 0.4954 GB, free: 45.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=303): time 0.02405/0.3614, allocations: 11 MB / 0.5062 GB, free: 38.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3615, allocations: 205.9 kB / 0.5064 GB, free: 38.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/0.3651, allocations: 4.839 MB / 0.5111 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.3653, allocations: 73.67 kB / 0.5112 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.3668, allocations: 4.864 MB / 0.5159 GB, free: 29.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.3674, allocations: 1.241 MB / 0.5171 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.3688, allocations: 1.946 MB / 0.519 GB, free: 26.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.3689, allocations: 476.8 kB / 0.5195 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3703, allocations: 1.032 MB / 0.5205 GB, free: 24.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.3738, allocations: 8.762 MB / 0.5291 GB, free: 12.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005939/0.3798, allocations: 10.59 MB / 0.5394 GB, free: 15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.953e-05/0.3798, allocations: 52 kB / 0.5394 GB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.009968/0.3898, allocations: 7.583 MB / 0.5469 GB, free: 7.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.3899, allocations: 84 kB / 0.5469 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/0.39, allocations: 180 kB / 0.5471 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.3923, allocations: 0.8378 MB / 0.5479 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/0.3959, allocations: 1.973 MB / 0.5499 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.401, allocations: 5.568 MB / 0.5553 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.4048, allocations: 371.7 kB / 0.5556 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/0.4053, allocations: 448 kB / 0.5561 GB, free: 13.67 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.001818/0.4071, allocations: 0.8644 MB / 0.5569 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/0.4078, allocations: 0.5438 MB / 0.5574 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.4115, allocations: 2.453 MB / 0.5598 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/0.4115, allocations: 51.98 kB / 0.5599 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4115, allocations: 8 kB / 0.5599 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.4116, allocations: 11.95 kB / 0.5599 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4221, allocations: 7.209 MB / 0.5669 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.4221, allocations: 8 kB / 0.567 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4232, allocations: 407.4 kB / 0.5673 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.4248, allocations: 0.5772 MB / 0.5679 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.425, allocations: 59.97 kB / 0.568 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.429, allocations: 4.584 MB / 0.5724 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.429, allocations: 11.94 kB / 0.5725 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.434, allocations: 3.724 MB / 0.5761 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.4355, allocations: 0.7464 MB / 0.5768 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.436, allocations: 51.94 kB / 0.5769 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.437, allocations: 57.27 kB / 0.5769 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.4373, allocations: 181.5 kB / 0.5771 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.4374, allocations: 60 kB / 0.5772 GB, free: 7.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.4393, allocations: 1.926 MB / 0.579 GB, free: 5.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4393, allocations: 0 / 0.579 GB, free: 5.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00507/0.4444, allocations: 1.594 MB / 0.5806 GB, free: 3.938 MB / 426.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.0004113/0.4448, allocations: 222.6 kB / 0.5808 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.4501, allocations: 4.339 MB / 0.585 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4501, allocations: 0 / 0.585 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4514, allocations: 1.182 MB / 0.5862 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.4531, allocations: 0.5525 MB / 0.5867 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.4698, allocations: 11.53 MB / 0.598 GB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.4714, allocations: 1.839 MB / 0.5998 GB, free: 16 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002246/0.4737, allocations: 0.7122 MB / 0.6005 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.4749, allocations: 0.7871 MB / 0.6013 GB, free: 14.51 MB / 458.7 MB Notification: Performance of SimCode: time 3.246e-06/0.4749, allocations: 0 / 0.6013 GB, free: 14.51 MB / 458.7 MB Notification: Performance of Templates: time 0.2285/0.7034, allocations: 53.01 MB / 0.653 GB, free: 134.5 MB / 458.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.036017449107021]