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.0019/0.0019, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002398/0.002398, allocations: 165.3 kB / 24.26 MB, free: 152 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.506/1.506, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3392/0.3392, allocations: 32.81 MB / 293.9 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 179] 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 2.675e-06/2.675e-06, allocations: 0 / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.232e-05/4.499e-05, allocations: 6.25 kB / 375.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.02417/0.02421, allocations: 13.06 MB / 388.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.03877, allocations: 4.612 MB / 392.9 MB, free: 3.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.04224, allocations: 107.5 kB / 393 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007862/0.0501, allocations: 3.289 MB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008532/0.05863, allocations: 2.687 MB / 399 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.06171, allocations: 1.119 MB / 400.1 MB, free: 12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.07504, allocations: 7.815 MB / 407.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008267/0.0833, allocations: 4.235 MB / 412.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009207/0.09251, allocations: 3.371 MB / 415.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.09991, allocations: 3.609 MB / 419.2 MB, free: 8.871 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002044/0.1019, allocations: 500 kB / 419.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004531/0.1065, allocations: 1.475 MB / 421.1 MB, free: 6.906 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005341/0.1118, allocations: 3.054 MB / 424.2 MB, free: 3.844 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005318/0.1171, allocations: 1.861 MB / 426 MB, free: 1.977 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.1345, allocations: 10.59 MB / 436.6 MB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1345, allocations: 0 / 436.6 MB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1345, allocations: 0 / 436.6 MB, free: 7.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003362/0.1348, allocations: 0 / 436.6 MB, free: 7.355 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.1693/0.3041, allocations: 7.449 MB / 444.1 MB, free: 97.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3042, allocations: 10.59 kB / 444.1 MB, free: 97.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/0.3223, allocations: 4.809 MB / 448.9 MB, free: 97.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/0.3312, allocations: 4.078 MB / 453 MB, free: 96.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.3315, allocations: 313.8 kB / 453.3 MB, free: 95.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.3327, allocations: 442.2 kB / 453.7 MB, free: 95.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.3568, allocations: 15.91 MB / 469.6 MB, free: 88.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.357, allocations: 65.72 kB / 469.7 MB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005843/0.3576, allocations: 203.8 kB / 469.9 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004387/0.362, allocations: 3.224 MB / 473.1 MB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/0.3866, allocations: 14.23 MB / 487.3 MB, free: 81.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/0.446, allocations: 54.11 MB / 0.5287 GB, free: 28.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.4576, allocations: 5.496 MB / 0.5341 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/0.4614, allocations: 3.442 MB / 0.5375 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.4789, allocations: 12.61 MB / 0.5498 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.479, allocations: 60.56 kB / 0.5498 GB, free: 6.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=293): time 6.752e-06/0.479, allocations: 0 / 0.5498 GB, free: 6.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=343): time 0.1691/0.648, allocations: 49.33 MB / 0.598 GB, free: 5.129 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.6482, allocations: 214 kB / 0.5982 GB, free: 4.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.192/0.8402, allocations: 5.337 MB / 0.6034 GB, free: 131.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001228/0.8414, allocations: 74.2 kB / 0.6035 GB, free: 131.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004167/0.8456, allocations: 4.496 MB / 0.6079 GB, free: 130.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002213/0.8478, allocations: 1.301 MB / 0.6092 GB, free: 129.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004167/0.852, allocations: 1.836 MB / 0.611 GB, free: 128.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.852, allocations: 301.1 kB / 0.6112 GB, free: 128.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/0.8622, allocations: 5.004 MB / 0.6161 GB, free: 126.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01375/0.8759, allocations: 10 MB / 0.6259 GB, free: 118.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0256/0.9015, allocations: 15.93 MB / 0.6415 GB, free: 106.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002488/0.9018, allocations: 50.47 kB / 0.6415 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06239/0.9642, allocations: 20.8 MB / 0.6618 GB, free: 99.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.9645, allocations: 80.41 kB / 0.6619 GB, free: 99.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005483/0.9651, allocations: 173.8 kB / 0.6621 GB, free: 99.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02835/0.9934, allocations: 7.668 MB / 0.6695 GB, free: 98.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007528/1.001, allocations: 2.131 MB / 0.6716 GB, free: 97.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/1.032, allocations: 27.45 MB / 0.6984 GB, free: 70.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008762/1.04, allocations: 0.6553 MB / 0.6991 GB, free: 69.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.042, allocations: 0.5144 MB / 0.6996 GB, free: 69.3 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.006206/1.048, allocations: 3.091 MB / 0.7026 GB, free: 66.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.05, allocations: 0.5555 MB / 0.7031 GB, free: 65.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02957/1.079, allocations: 13.82 MB / 0.7166 GB, free: 51.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-05/1.079, allocations: 48 kB / 0.7167 GB, free: 51.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.079, allocations: 11.94 kB / 0.7167 GB, free: 51.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.038e-05/1.08, allocations: 15.94 kB / 0.7167 GB, free: 51.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/1.127, allocations: 23.74 MB / 0.7399 GB, free: 27.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/1.127, allocations: 7.125 kB / 0.7399 GB, free: 27.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/1.13, allocations: 0.609 MB / 0.7405 GB, free: 26.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02254/1.153, allocations: 6.694 MB / 0.747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008398/1.154, allocations: 63.52 kB / 0.7471 GB, free: 20.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2148/1.369, allocations: 22.54 MB / 0.7691 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.369, allocations: 12.69 kB / 0.7691 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/1.403, allocations: 18.83 MB / 0.7875 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.404, allocations: 477.3 kB / 0.788 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009288/1.405, allocations: 60.64 kB / 0.788 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.408, allocations: 354.8 kB / 0.7884 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008153/1.409, allocations: 199.5 kB / 0.7885 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/1.41, allocations: 89.58 kB / 0.7886 GB, free: 130.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003861/1.413, allocations: 3.105 MB / 0.7917 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/1.413, allocations: 0 / 0.7917 GB, free: 129.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006999/1.42, allocations: 1.903 MB / 0.7935 GB, free: 128.9 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.0006759/1.421, allocations: 220.5 kB / 0.7937 GB, free: 128.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01547/1.437, allocations: 10.93 MB / 0.8044 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.437, allocations: 1.219 kB / 0.8044 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005974/1.443, allocations: 4.029 MB / 0.8083 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/1.446, allocations: 0.5539 MB / 0.8089 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.471, allocations: 16.6 MB / 0.8251 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/1.476, allocations: 4.119 MB / 0.8291 GB, free: 113.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005917/1.482, allocations: 2.929 MB / 0.832 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.483, allocations: 334.5 kB / 0.8323 GB, free: 111 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/1.483, allocations: 0 / 0.8323 GB, free: 111 MB / 474.7 MB Notification: Performance of Templates: time 0.1015/1.585, allocations: 77.44 MB / 0.9079 GB, free: 36.51 MB / 474.7 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.531666101072915]