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.001406/0.001406, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00165/0.00165, allocations: 161.7 kB / 24.27 MB, free: 172 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.486/1.486, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3909/0.3909, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.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 2.224e-06/2.224e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.353e-05/4.576e-05, allocations: 6.25 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.02464/0.02468, allocations: 10.53 MB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.03999, allocations: 4.115 MB / 389.9 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.04309, allocations: 95.5 kB / 390 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009995/0.05308, allocations: 2.834 MB / 392.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.06065, allocations: 2.115 MB / 394.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.06345, allocations: 1.025 MB / 396 MB, free: 224 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.07414, allocations: 6.397 MB / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.08108, allocations: 3.435 MB / 405.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007536/0.08862, allocations: 2.639 MB / 408.4 MB, free: 3.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005674/0.09429, allocations: 2.825 MB / 411.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.09605, allocations: 403.9 kB / 411.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/0.1013, allocations: 1.365 MB / 413 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004229/0.1055, allocations: 2.341 MB / 415.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004125/0.1096, allocations: 1.46 MB / 416.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.1234, allocations: 8.104 MB / 424.9 MB, free: 3.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1235, allocations: 0 / 424.9 MB, free: 3.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1235, allocations: 0 / 424.9 MB, free: 3.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003271/0.1238, allocations: 0 / 424.9 MB, free: 3.145 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.01888/0.1427, allocations: 5.645 MB / 430.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1427, allocations: 12.03 kB / 430.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.1576, allocations: 3.083 MB / 433.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.1686, allocations: 3.312 MB / 437 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.1689, allocations: 234.5 kB / 437.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001919/0.1708, allocations: 348.3 kB / 437.5 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2135/0.3843, allocations: 11.02 MB / 448.6 MB, free: 95.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.3845, allocations: 49.52 kB / 448.6 MB, free: 95.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/0.3849, allocations: 155.6 kB / 448.8 MB, free: 95.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.3875, allocations: 2.012 MB / 450.8 MB, free: 95.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.4034, allocations: 9.503 MB / 460.3 MB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03987/0.4433, allocations: 38.59 MB / 498.9 MB, free: 65.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00937/0.4526, allocations: 3.735 MB / 0.4908 GB, free: 64.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.4549, allocations: 1.836 MB / 0.4926 GB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009337/0.4642, allocations: 6.174 MB / 0.4986 GB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4642, allocations: 56.7 kB / 0.4987 GB, free: 60.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 3.798e-06/0.4642, allocations: 3.875 kB / 0.4987 GB, free: 60.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.1578/0.622, allocations: 47.92 MB / 0.5455 GB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.6221, allocations: 205.9 kB / 0.5457 GB, free: 14.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.6268, allocations: 4.174 MB / 0.5498 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006147/0.6274, allocations: 65.69 kB / 0.5498 GB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.6287, allocations: 3.265 MB / 0.553 GB, free: 7.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/0.6297, allocations: 0.9137 MB / 0.5539 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.6314, allocations: 1.334 MB / 0.5552 GB, free: 4.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.6315, allocations: 305.1 kB / 0.5555 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.6354, allocations: 3.8 MB / 0.5592 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009764/0.6452, allocations: 7.474 MB / 0.5665 GB, free: 7.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0188/0.664, allocations: 11.92 MB / 0.5782 GB, free: 9.734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/0.6641, allocations: 36 kB / 0.5782 GB, free: 9.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.04924/0.7134, allocations: 17.28 MB / 0.5951 GB, free: 8.402 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.7136, allocations: 61.56 kB / 0.5951 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/0.7139, allocations: 124 kB / 0.5952 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03151/0.7454, allocations: 8.132 MB / 0.6032 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1741/0.9194, allocations: 1.504 MB / 0.6047 GB, free: 132.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03596/0.9554, allocations: 28.86 MB / 0.6328 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0063/0.9617, allocations: 0.4952 MB / 0.6333 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/0.9629, allocations: 386.6 kB / 0.6337 GB, free: 120.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (772): * Single equations (assignments): 767 * 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.004256/0.9672, allocations: 2.214 MB / 0.6359 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.9685, allocations: 440.9 kB / 0.6363 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03054/0.999, allocations: 12.09 MB / 0.6481 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.999, allocations: 22.62 kB / 0.6481 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.9991, allocations: 11.41 kB / 0.6481 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/0.9991, allocations: 12.22 kB / 0.6481 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03974/1.039, allocations: 20.3 MB / 0.6679 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/1.039, allocations: 4 kB / 0.6679 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.041, allocations: 403.3 kB / 0.6683 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02383/1.065, allocations: 7.206 MB / 0.6754 GB, free: 95.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005431/1.065, allocations: 47.98 kB / 0.6754 GB, free: 95.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/1.093, allocations: 23.87 MB / 0.6987 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.093, allocations: 7.938 kB / 0.6987 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/1.123, allocations: 15.77 MB / 0.7141 GB, free: 56.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.124, allocations: 386.8 kB / 0.7145 GB, free: 55.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009007/1.125, allocations: 36 kB / 0.7145 GB, free: 55.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.128, allocations: 279.5 kB / 0.7148 GB, free: 55.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007992/1.129, allocations: 160.9 kB / 0.715 GB, free: 55.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.129, allocations: 60 kB / 0.715 GB, free: 55.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003378/1.132, allocations: 2.477 MB / 0.7174 GB, free: 52.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.132, allocations: 0 / 0.7174 GB, free: 52.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007504/1.14, allocations: 1.515 MB / 0.7189 GB, free: 51.43 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 (168): * Single equations (assignments): 163 * 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.000775/1.141, allocations: 205.2 kB / 0.7191 GB, free: 51.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.152, allocations: 8.362 MB / 0.7273 GB, free: 42.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.152, allocations: 4 kB / 0.7273 GB, free: 42.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/1.156, allocations: 3.186 MB / 0.7304 GB, free: 39.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.159, allocations: 480.2 kB / 0.7309 GB, free: 39.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.176, allocations: 12.2 MB / 0.7428 GB, free: 26.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/1.179, allocations: 2.979 MB / 0.7457 GB, free: 23.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003924/1.183, allocations: 1.91 MB / 0.7475 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.184, allocations: 248.4 kB / 0.7478 GB, free: 21.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/1.184, allocations: 4 kB / 0.7478 GB, free: 21.77 MB / 458.7 MB Notification: Performance of Templates: time 0.2671/1.451, allocations: 69.38 MB / 0.8155 GB, free: 129.4 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.057425166945904]