Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001511/0.001511, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001195/0.001195, allocations: 165.8 kB / 24.99 MB, free: 8.336 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 0.9955/0.9955, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.2817/0.2817, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 376 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.201e-05, allocations: 9.484 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01076/0.01081, allocations: 11.6 MB / 387.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.01868, allocations: 4.224 MB / 391.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.02057, allocations: 87.56 kB / 391.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.02486, allocations: 2.924 MB / 394.8 MB, free: 2.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.03166, allocations: 2.115 MB / 396.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.03472, allocations: 1.017 MB / 397.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008799/0.04352, allocations: 6.4 MB / 404.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.04692, allocations: 3.435 MB / 407.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.0505, allocations: 2.666 MB / 410.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.05308, allocations: 2.864 MB / 413.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.05349, allocations: 396 kB / 413.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.05516, allocations: 1.35 MB / 415.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.05704, allocations: 2.357 MB / 417.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.05821, allocations: 1.464 MB / 418.9 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.06316, allocations: 5.341 MB / 424.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.06317, allocations: 0 / 424.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.06317, allocations: 4 kB / 424.2 MB, free: 4.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.199e-05/0.06321, allocations: 3.938 kB / 424.2 MB, free: 4.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.006467/0.06968, allocations: 6.002 MB / 430.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.06973, allocations: 8.031 kB / 430.2 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.07626, allocations: 3.009 MB / 433.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.07997, allocations: 2.963 MB / 436.2 MB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.08009, allocations: 246.5 kB / 436.4 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.08051, allocations: 332.3 kB / 436.8 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008101/0.08861, allocations: 6.715 MB / 443.5 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.0887, allocations: 43.62 kB / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1623/0.251, allocations: 157.8 kB / 443.7 MB, free: 78.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003545/0.2545, allocations: 1.992 MB / 445.7 MB, free: 78.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009725/0.2643, allocations: 3.884 MB / 449.6 MB, free: 78.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.2892, allocations: 44.9 MB / 494.5 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.2938, allocations: 2.299 MB / 496.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/0.2945, allocations: 0.6835 MB / 497.4 MB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.2992, allocations: 4.695 MB / 0.4904 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2992, allocations: 61.52 kB / 0.4904 GB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.486e-06/0.2992, allocations: 3.609 kB / 0.4904 GB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.05165/0.3509, allocations: 24.58 MB / 0.5144 GB, free: 35.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.3509, allocations: 209.4 kB / 0.5146 GB, free: 35.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/0.3558, allocations: 3.694 MB / 0.5182 GB, free: 31.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.356, allocations: 57.7 kB / 0.5183 GB, free: 31.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3574, allocations: 3.456 MB / 0.5217 GB, free: 28.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006761/0.3581, allocations: 0.9507 MB / 0.5226 GB, free: 27.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.3596, allocations: 1.408 MB / 0.524 GB, free: 25.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.3597, allocations: 476.8 kB / 0.5244 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.3618, allocations: 1.321 MB / 0.5257 GB, free: 24.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/0.3654, allocations: 6.777 MB / 0.5323 GB, free: 14.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006805/0.3722, allocations: 8.86 MB / 0.541 GB, free: 3.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.795e-05/0.3722, allocations: 36 kB / 0.541 GB, free: 3.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02327/0.3955, allocations: 10.41 MB / 0.5512 GB, free: 9.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.3956, allocations: 66.59 kB / 0.5513 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3957, allocations: 128 kB / 0.5514 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/0.4109, allocations: 5.214 MB / 0.5565 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/0.4149, allocations: 1.489 MB / 0.5579 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.4298, allocations: 9.923 MB / 0.5676 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/0.4341, allocations: 467.4 kB / 0.5681 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008532/0.435, allocations: 382.7 kB / 0.5684 GB, free: 7.605 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001918/0.4369, allocations: 0.6809 MB / 0.5691 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000928/0.4378, allocations: 441.5 kB / 0.5695 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/0.4525, allocations: 6.706 MB / 0.5761 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.4526, allocations: 28 kB / 0.5761 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.4526, allocations: 12 kB / 0.5761 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/0.4526, allocations: 15.95 kB / 0.5761 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/0.4788, allocations: 13.64 MB / 0.5894 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/0.4788, allocations: 8 kB / 0.5894 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.4805, allocations: 391.9 kB / 0.5898 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01719/0.4977, allocations: 4.674 MB / 0.5944 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/0.4982, allocations: 44 kB / 0.5944 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/0.5141, allocations: 8.713 MB / 0.6029 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.5141, allocations: 4 kB / 0.6029 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2006/0.7147, allocations: 7.618 MB / 0.6104 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.7159, allocations: 378.3 kB / 0.6107 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/0.7163, allocations: 46.42 kB / 0.6108 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.7177, allocations: 225.1 kB / 0.611 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.7182, allocations: 165 kB / 0.6112 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.7184, allocations: 65.77 kB / 0.6112 GB, free: 123.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00198/0.7204, allocations: 1.624 MB / 0.6128 GB, free: 123.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7204, allocations: 0 / 0.6128 GB, free: 123.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004409/0.7248, allocations: 1.489 MB / 0.6143 GB, free: 123.7 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004728/0.7253, allocations: 191.7 kB / 0.6144 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006338/0.7316, allocations: 4.652 MB / 0.619 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.7316, allocations: 0 / 0.619 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.7338, allocations: 1.672 MB / 0.6206 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.736, allocations: 479.2 kB / 0.6211 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.7477, allocations: 9.248 MB / 0.6301 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.7489, allocations: 1.372 MB / 0.6314 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00283/0.7518, allocations: 1.602 MB / 0.633 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.7526, allocations: 253.5 kB / 0.6332 GB, free: 119.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.984e-06/0.7526, allocations: 5.672 kB / 0.6333 GB, free: 119.5 MB / 474.7 MB Notification: Performance of Templates: time 0.07654/0.8291, allocations: 67.4 MB / 0.6991 GB, free: 75.52 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.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.958707923069596]