Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001391/0.001391, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001786/0.001786, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2728/0.2728, allocations: 34.27 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.015e-05, allocations: 2.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01184/0.01187, allocations: 11.6 MB / 389.6 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007194/0.01906, allocations: 4.228 MB / 393.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.02094, allocations: 87.56 kB / 393.9 MB, free: 3.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.0246, allocations: 2.916 MB / 396.8 MB, free: 84 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.0287, allocations: 2.119 MB / 398.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.03032, allocations: 1.029 MB / 400 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.03667, allocations: 6.397 MB / 406.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.04072, allocations: 3.439 MB / 409.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.04478, allocations: 2.658 MB / 412.5 MB, free: 372 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.04817, allocations: 2.857 MB / 415.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.04917, allocations: 396 kB / 415.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.0513, allocations: 1.365 MB / 417.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.05338, allocations: 2.349 MB / 419.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.0555, allocations: 1.46 MB / 420.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.06287, allocations: 5.345 MB / 426.2 MB, free: 2.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.06288, allocations: 0 / 426.2 MB, free: 2.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.06288, allocations: 0 / 426.2 MB, free: 2.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002634/0.06314, allocations: 4 kB / 426.2 MB, free: 2.559 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.009599/0.07274, allocations: 5.994 MB / 432.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.07278, allocations: 12.03 kB / 432.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.07957, allocations: 3.013 MB / 435.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/0.08436, allocations: 2.971 MB / 438.2 MB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.0845, allocations: 242.5 kB / 438.5 MB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006409/0.08514, allocations: 332.3 kB / 438.8 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1771/0.2622, allocations: 6.701 MB / 445.5 MB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.2624, allocations: 53.33 kB / 445.5 MB, free: 94.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.2628, allocations: 154.3 kB / 445.7 MB, free: 94.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/0.2652, allocations: 2.001 MB / 447.7 MB, free: 94.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/0.275, allocations: 3.888 MB / 451.6 MB, free: 94.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03004/0.3051, allocations: 44.91 MB / 496.5 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005181/0.3103, allocations: 2.296 MB / 498.8 MB, free: 57.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.3112, allocations: 0.6835 MB / 499.5 MB, free: 57.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006391/0.3176, allocations: 4.693 MB / 0.4923 GB, free: 55.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3177, allocations: 58.42 kB / 0.4924 GB, free: 55.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 4.568e-06/0.3177, allocations: 5.062 kB / 0.4924 GB, free: 55.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.05795/0.3756, allocations: 24.59 MB / 0.5164 GB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.3757, allocations: 205.9 kB / 0.5166 GB, free: 42.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.3798, allocations: 3.693 MB / 0.5202 GB, free: 38.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005234/0.3804, allocations: 57.7 kB / 0.5203 GB, free: 38.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.3819, allocations: 3.457 MB / 0.5237 GB, free: 35.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.3831, allocations: 0.946 MB / 0.5246 GB, free: 34.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.3848, allocations: 1.412 MB / 0.526 GB, free: 32.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.3849, allocations: 476.8 kB / 0.5264 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.3868, allocations: 1.317 MB / 0.5277 GB, free: 31.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.3899, allocations: 6.783 MB / 0.5343 GB, free: 21.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/0.3961, allocations: 8.857 MB / 0.543 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.3962, allocations: 36 kB / 0.543 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0232/0.4194, allocations: 10.41 MB / 0.5532 GB, free: 20 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4196, allocations: 60.05 kB / 0.5532 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/0.4198, allocations: 131.9 kB / 0.5534 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01911/0.4389, allocations: 5.217 MB / 0.5584 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/0.4438, allocations: 1.493 MB / 0.5599 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.4626, allocations: 9.906 MB / 0.5696 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005197/0.4678, allocations: 463.3 kB / 0.57 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.4689, allocations: 397.9 kB / 0.5704 GB, free: 14.12 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.001952/0.4709, allocations: 0.6732 MB / 0.5711 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.472, allocations: 445.5 kB / 0.5715 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03723/0.5093, allocations: 6.706 MB / 0.578 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.5093, allocations: 28 kB / 0.5781 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.5093, allocations: 8 kB / 0.5781 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-05/0.5094, allocations: 11.97 kB / 0.5781 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/0.5508, allocations: 13.66 MB / 0.5914 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.5508, allocations: 12.53 kB / 0.5914 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.5522, allocations: 387.4 kB / 0.5918 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/0.565, allocations: 4.674 MB / 0.5964 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/0.5657, allocations: 44 kB / 0.5964 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1834/0.7491, allocations: 8.711 MB / 0.6049 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.7491, allocations: 9.688 kB / 0.6049 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/0.7682, allocations: 7.605 MB / 0.6123 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7693, allocations: 380.9 kB / 0.6127 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/0.7698, allocations: 40.89 kB / 0.6127 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.7711, allocations: 233.2 kB / 0.613 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/0.7717, allocations: 157.7 kB / 0.6131 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.7718, allocations: 65.72 kB / 0.6132 GB, free: 123.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00194/0.7737, allocations: 1.627 MB / 0.6148 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7737, allocations: 0 / 0.6148 GB, free: 123.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004452/0.7782, allocations: 1.485 MB / 0.6162 GB, free: 123.7 MB / 458.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.0005206/0.7787, allocations: 198.7 kB / 0.6164 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006973/0.7857, allocations: 4.648 MB / 0.6209 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.7857, allocations: 0 / 0.6209 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.7879, allocations: 1.671 MB / 0.6226 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.7903, allocations: 478.7 kB / 0.623 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.8047, allocations: 9.257 MB / 0.6321 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.8074, allocations: 1.379 MB / 0.6334 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003692/0.8111, allocations: 1.593 MB / 0.635 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/0.8121, allocations: 252.4 kB / 0.6352 GB, free: 117.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.294e-06/0.8121, allocations: 0 / 0.6352 GB, free: 117.1 MB / 458.7 MB Notification: Performance of Templates: time 0.08318/0.8953, allocations: 67.41 MB / 0.701 GB, free: 61.38 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.103940472006798]