Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009907/0.0009907, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.001035/0.001035, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9238/0.9238, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1529/0.1529, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.659e-05, allocations: 4.281 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.00821/0.008237, allocations: 11.71 MB / 359.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007432/0.01567, allocations: 4.248 MB / 363.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.01726, allocations: 87.56 kB / 363.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.02035, allocations: 2.939 MB / 366.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.02398, allocations: 2.15 MB / 368.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.02548, allocations: 1.029 MB / 369.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006621/0.0321, allocations: 5.934 MB / 375.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004197/0.0363, allocations: 3.474 MB / 379.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.03992, allocations: 2.67 MB / 381.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.04274, allocations: 2.892 MB / 384.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.04335, allocations: 396 kB / 385.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.04505, allocations: 1.361 MB / 386.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.04663, allocations: 2.388 MB / 388.9 MB, free: 16 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.04871, allocations: 1.48 MB / 390.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005738/0.05445, allocations: 5.407 MB / 395.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05445, allocations: 4 kB / 395.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.05445, allocations: 0 / 395.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.05456, allocations: 0 / 395.8 MB, free: 9.102 MB / 330.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.006818/0.06138, allocations: 6.036 MB / 401.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.06142, allocations: 12.03 kB / 401.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006295/0.06772, allocations: 3.007 MB / 404.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.07167, allocations: 3.022 MB / 407.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.07179, allocations: 234.5 kB / 408.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/0.07221, allocations: 332.3 kB / 408.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/0.08028, allocations: 6.709 MB / 415.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.794e-05/0.08038, allocations: 47.58 kB / 415.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.08067, allocations: 151.9 kB / 415.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.08257, allocations: 1.998 MB / 417.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008188/0.09076, allocations: 3.899 MB / 421.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/0.2839, allocations: 44.93 MB / 466.2 MB, free: 62.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005308/0.2892, allocations: 2.307 MB / 468.5 MB, free: 62.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.29, allocations: 0.6711 MB / 469.2 MB, free: 62.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005159/0.2951, allocations: 4.716 MB / 473.9 MB, free: 61.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2952, allocations: 60.39 kB / 473.9 MB, free: 61.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 3.777e-06/0.2952, allocations: 0.8438 kB / 473.9 MB, free: 61.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=236): time 0.05014/0.3453, allocations: 24.67 MB / 498.6 MB, free: 45.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3454, allocations: 201.9 kB / 498.8 MB, free: 45.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.3486, allocations: 3.733 MB / 0.4908 GB, free: 41.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.3487, allocations: 57.7 kB / 0.4908 GB, free: 41.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3499, allocations: 3.467 MB / 0.4942 GB, free: 38.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.3504, allocations: 0.9453 MB / 0.4951 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.3517, allocations: 1.407 MB / 0.4965 GB, free: 35.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3517, allocations: 487.7 kB / 0.497 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.3533, allocations: 1.313 MB / 0.4982 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.3563, allocations: 6.787 MB / 0.5049 GB, free: 24.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005805/0.3622, allocations: 8.859 MB / 0.5135 GB, free: 13.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.3622, allocations: 36 kB / 0.5136 GB, free: 13.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01789/0.3801, allocations: 10.41 MB / 0.5237 GB, free: 3.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.3801, allocations: 60 kB / 0.5238 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.241e-05/0.3802, allocations: 128.6 kB / 0.5239 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/0.3933, allocations: 5.217 MB / 0.529 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.3964, allocations: 1.489 MB / 0.5304 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.4105, allocations: 9.909 MB / 0.5401 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/0.415, allocations: 482 kB / 0.5406 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/0.4155, allocations: 384 kB / 0.5409 GB, free: 1.629 MB / 394.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.001592/0.4171, allocations: 0.6678 MB / 0.5416 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006136/0.4177, allocations: 449.4 kB / 0.542 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.4316, allocations: 6.738 MB / 0.5486 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/0.4317, allocations: 27.94 kB / 0.5486 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.4317, allocations: 12 kB / 0.5486 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.4317, allocations: 11.95 kB / 0.5487 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.4554, allocations: 13.7 MB / 0.562 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/0.4554, allocations: 7.984 kB / 0.562 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.4567, allocations: 390.5 kB / 0.5624 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01226/0.4689, allocations: 4.666 MB / 0.567 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/0.4693, allocations: 40 kB / 0.567 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.4809, allocations: 8.736 MB / 0.5755 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4809, allocations: 11.94 kB / 0.5756 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.4964, allocations: 7.617 MB / 0.583 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/0.4984, allocations: 0.872 MB / 0.5838 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/0.4989, allocations: 40 kB / 0.5839 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.5003, allocations: 239.6 kB / 0.5841 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.5008, allocations: 163 kB / 0.5843 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.501, allocations: 64.03 kB / 0.5843 GB, free: 4.516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002114/0.5031, allocations: 1.659 MB / 0.5859 GB, free: 2.875 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5031, allocations: 3.938 kB / 0.5859 GB, free: 2.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004419/0.5075, allocations: 1.512 MB / 0.5874 GB, free: 1.359 MB / 442.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.0004614/0.508, allocations: 206.8 kB / 0.5876 GB, free: 1.156 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.5143, allocations: 4.641 MB / 0.5922 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.5143, allocations: 0 / 0.5922 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.5164, allocations: 1.672 MB / 0.5938 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.5182, allocations: 479 kB / 0.5942 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.5312, allocations: 9.287 MB / 0.6033 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.5324, allocations: 1.374 MB / 0.6047 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00271/0.5351, allocations: 1.598 MB / 0.6062 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.5359, allocations: 252.4 kB / 0.6065 GB, free: 13.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/0.5359, allocations: 4 kB / 0.6065 GB, free: 13.66 MB / 474.7 MB Notification: Performance of Templates: time 0.2179/0.7538, allocations: 68.03 MB / 0.6729 GB, free: 140.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.907708831131458]